how can I create a plugin to do that?
donP |
|
---|---|
I explained bad myself, perhaps...
My plugin already works very well now... the problem would come when I'll use url_rewrite, cause in url we wouldn't have page.php?al=alias or list.php?c=category... but mysite.net/cat1/subcat1/alias.html or mysite.net/cat1/subcat1/ so, I'd have to completely rewrite the plugin (that actually reads id and alias values from url). Instead, I was now searching for a method to obtain category_name as a global variable to use it in a unique header file to draw the appropriate image logo: <div id="header" style="position: absolute; margin-top: 8px; margin-left: 11px; width: 749px; background: url('{PHP.sed_cat}') no-repeat center top;"> I wouldn't have this need if customheader/customfooter were a real chance, but actually we can only customize areas (e.g. header.list.tpl, header.page.tpl, NOT header.list.cat1.tpl and header.page.cat1.tpl). in [color=#729FCF][b]BLUES[/b][/color] I trust
|