Design keys in other than pagelayout template

Author Message

Thomas Larsen

Tuesday 11 July 2006 5:12:55 am

Is it a way to use the design keys, exp. $uri_string, in other than the pagelayout template. I try to cache content for different pages by using:

{cache-block keys=$uri_string}
     {attribute_view_gui attribute=$node.object.data_map.wysindhold}
{/cache-block}

This doesn’t work when its not the pagelayout template you working with.

---------------------------------------------------------------------

Thomas Stage Larsen
System Developer

e : [email protected] | m: +45 26 12 47 61 | eZ systems A/S | w: www.ez.no

Ɓukasz Serwatka

Monday 17 July 2006 11:21:53 pm

You can use $node.path_string or just $node.node_id which is unique.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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