Toolbar elements on a per contentclass basis?

Author Message

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.

Gabriel Ambuehl

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_trouble
for the trouble I got into...

Visit http://triligon.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.