Page 1 of 1

Category specific sidebar items possible?

Posted: Fri Nov 30, 2007 7:34 pm
by Don Chambers
Right now I am only thinking of this from an HTML nugget perspective, but perhaps it has value for other sidebar items as well.... like a link list.

Is it possible to display a particular sidebar item only for a specific category?

And while I'm at it, how difficult would it be to incorporate something like user fields for categories.... perhaps the contents of that field, assuming it allowed full html, would be what I really need, then displayed in the sidebar.

Re: Category specific sidebar items possible?

Posted: Fri Nov 30, 2007 11:17 pm
by garvinhicking
Hi!

Check serendipity_event_sidebarhider. :)
And while I'm at it, how difficult would it be to incorporate something like user fields for categories.... perhaps the contents of that field, assuming it allowed full html, would be what I really need, then displayed in the sidebar.
What about the category description?

Regards,
Garvin

Re: Category specific sidebar items possible?

Posted: Fri Nov 30, 2007 11:41 pm
by Don Chambers
garvinhicking wrote:Hi!

Check serendipity_event_sidebarhider. :)
I'll check it out. Thanks.
What about the category description?
That would not work - the value of that field is often displayed when a category name or icon is hovered.

Re: Category specific sidebar items possible?

Posted: Sat Dec 01, 2007 12:13 am
by Don Chambers
garvinhicking wrote:Check serendipity_event_sidebarhider. :)
Nope - that is the plugin that collapses a sidebar item to just it's title. I want to only display a sidebar item for a particular category... or, like I said, possibly have the ability to, using smarty, to display something in a category "custom field"... either in the sidebar, or elsewhere in a template.

Posted: Sat Dec 01, 2007 11:41 am
by d_cee
HI Don

the serendipity_event_sidebarhider plugin, in addition to collapsing the sidebar item down to it's title, gives you a new admin menu item that lets you hide or show your sidebar items by category assignment or author.

So, it should do what you want I think

cheers

Dave

Posted: Sat Dec 01, 2007 3:53 pm
by Don Chambers
Thanks Dave - the plugin must have changed in functionality since I last looked at it, which was a very long time ago.... Also seems like the description of the plugin could use a little updating too if it works that way. I'll download a fresh copy from spartacus and give it a try.