bug? "serendipity_event_categorytemplates"
Posted: Sat Dec 01, 2007 12:26 am
Hi,
maybe someone has an idea?
My blog (http://www.trendquest.de) has 70 categories and a template based on the freshy template. There are 4 (or maybe later up to 7) categories I use in the horizontal button-menu-bar for which I want to assign each an own category-header-image - thus: an own template.
But: When using the plugin "serendipity_event_categorytemplates" it does not work as I hoped it would do.
I choose a template for a category and after this click on the button "Template options". And there shows up this bug:
"Fatal error: Cannot redeclare custom_imgsel() (previously declared in /home/kdn436/html/templates/trendquest2007/functions.custom_imgsel.inc.php:48) in /home/kdn436/html/templates/neueklassik/functions.custom_imgsel.inc.php on line 48"
Before as a basic thing I made a duplicate of my main-template because I only wanted to have a different category-headerpicture and thought about getting this by duplicate and slightly different templates. I changed the name of the duplicate in the "info.txt". Is this the reason? Do I have to change more than the "info.txt"-file?
Maybe someone has a clue how to solve this problem?
Addition: If I only use ONE template for all categories I still even can change header-images for each category.
The only bug is that the style.css now behaves different as if it were used without this "categorytemplates"-event-plugin. The menu buttons are displaced for about 4 pixels.
Very strange. Is this indeed a bug?
Or did I make something wrong?
Thank you for your help!
Matthias
maybe someone has an idea?
My blog (http://www.trendquest.de) has 70 categories and a template based on the freshy template. There are 4 (or maybe later up to 7) categories I use in the horizontal button-menu-bar for which I want to assign each an own category-header-image - thus: an own template.
But: When using the plugin "serendipity_event_categorytemplates" it does not work as I hoped it would do.
I choose a template for a category and after this click on the button "Template options". And there shows up this bug:
"Fatal error: Cannot redeclare custom_imgsel() (previously declared in /home/kdn436/html/templates/trendquest2007/functions.custom_imgsel.inc.php:48) in /home/kdn436/html/templates/neueklassik/functions.custom_imgsel.inc.php on line 48"
Before as a basic thing I made a duplicate of my main-template because I only wanted to have a different category-headerpicture and thought about getting this by duplicate and slightly different templates. I changed the name of the duplicate in the "info.txt". Is this the reason? Do I have to change more than the "info.txt"-file?
Maybe someone has a clue how to solve this problem?
Addition: If I only use ONE template for all categories I still even can change header-images for each category.
The only bug is that the style.css now behaves different as if it were used without this "categorytemplates"-event-plugin. The menu buttons are displaced for about 4 pixels.
Very strange. Is this indeed a bug?
Or did I make something wrong?
Thank you for your help!
Matthias