Forums / General / ViewCaching / Comment32623
Mark Marsiglio
Monday 12 December 2005 7:14:13 am
Andrew,
The variables in pagelayout with viewcaching enabled are a little different than other view modes/templates.
Take a look at http://ez.no/doc/ez_publish/technical_manual/3_6/templates/the_pagelayout/variables_in_pagelayout
This has some details. I think if you use a variable based on $DesignKeys or $module_result, you should be OK.
Also, make sure that those lines of code are excluded from any cache blocks.
http://www.thinkcreative.com Turning Ideas Into Strategic Solutions