Category specific sidebar items possible?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Category specific sidebar items possible?

Post 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.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Category specific sidebar items possible?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Category specific sidebar items possible?

Post 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.
=Don=
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Category specific sidebar items possible?

Post 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.
=Don=
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post 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
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post 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.
=Don=
Post Reply