Toolbar caching trouble...

Author Message

Gabriel Ambuehl

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

Gabriel Ambuehl

Tuesday 15 February 2005 8:09:51 am

When I deactivate ViewCaching (other caches are still active) it seems to work. What's going on?

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.