Forums / Developer / Design keys in other than pagelayout template

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 : tsl@ez.no | 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