Tuesday 15 February 2005 4:05:51 am
I created a toolbar element that should display some related objects but only for certain classes. Displaying it only for certain classes works, but ONLY when the contentobject is displayed for the first time. If the object is displayed out of the cache, the toolbar isn't displayed anymore! I use the following template for the toolbar element:
{section show=$showforclasses_classidentifiers|contains($node.object.class_identifier)}
<div class="toolbar-item {$placement}">
<div class="toolbox">
<div class="toolbox-design">
<h2>{$title}</h2>
<div class="toolbox-content">
CONTENT GOES HERE
</div>
</div>
</div>
</div>
{/section}
Visit http://triligon.org
|