Page 1 of 1
Other template for category plugin + sidebar
Posted: Sun Aug 26, 2007 10:02 pm
by tazilein
I have a businesswebsite using s9y up & running. I now wanted to add a "real" blog to the website to give a better view on the company. I installed the "choose template for category"-plugin and changed the template for the new category that should be used for the weblog.
The problem is that I want a different sidebar for this category (not the normal website menue, but all that typical blogstuff as buttons, rss-feed,...). Is there a way to change the sidebar for a specific category only ?
Re: Other template for category plugin + sidebar
Posted: Sun Aug 26, 2007 10:08 pm
by garvinhicking
Hi!
Yes, check the "Toggle/Hide sidebars" plugin.
Regards,
Garvin
Posted: Sun Oct 07, 2007 10:52 am
by tazilein
Hello,
Finally I tried the toggle/hide sidebar plugin, but I miss one option ( or I just did not figure it out).
I want certain plugins to be available allways, except 1-2 certain categories. In the options I only found the other way = you have to select all categories by hand where you want the plugin to be viewed. This can be problematic if new categories are added.
Is it possible to have a sidebar plugin allways visible except category 1+2 ?
Posted: Mon Oct 08, 2007 10:13 am
by garvinhicking
Hi!
Yes, the plugin works like that. Reverting the logic would mean to nearly completely rewrite the plugin's logic.
You can patch your templates sidebar.tpl file to add a "IF"-Check within the foreach loop to exclude categories based on a category ID, though.
Regards,
Garvin
Posted: Mon Oct 08, 2007 11:52 am
by tazilein
Hello Garvin,
Thats what I feared. So I will make it the way the plugin expects me to work

(and have in mind that I need to make changes when I chance the categories).