Forums / Developer / Toolbar elements on a per contentclass basis?
Gabriel Ambuehl
Monday 14 February 2005 6:39:05 am
Is there any mechanism for toolbar elements to be shown only for specific content classes or do I need to implement that myself?
Essentially, I want to display some content (depending on the class in question) in the right toolbar. If it's possible to somehow display some block from the view/full main template over there, that would do the job as well. But I couldn't get the CSS to render there from inside the main content block.
Visit http://triligon.org
Tom Couwberghs
Thursday 17 February 2005 4:11:56 am
There is no standard mechanism offered to do this. But the template code to do is is easy.If you need more directions just ask.
Thursday 17 February 2005 4:54:03 am
Well it's easy to do (add classidentifiers to the toolbar element and check whether current class is member of that). But look at http://ez.no/community/forum/developer/toolbar_caching_troublefor the trouble I got into...