Folder attribute is empty when page is reloaded

Folder attribute is empty when page is reloaded

Sunday 28 January 2007 7:31:42 am - 2 replies

Author Message

Claudia Kosny

Sunday 28 January 2007 10:59:28 am

Hi Andreas

The variable $node is not available in pagelayout.tpl and related templates once a page is cached, so if you really need it, fetch the node at the beginning of pagelayout.tpl or page_head.tpl. Check e.g here: http://ez.no/community/forum/install_configuration/no_more_node_variable_in_pagelayout
(although this is for EZ 3.9, where $node apparently is not there even for the first page load, the solution is the same).

Claudia

Andreas Tremel

Monday 29 January 2007 6:59:03 am

Hi Claudia,

thanks a lot, now it works!

I've posted your solution into another thread, it seems that more useres have encountered the same problem.

Chers,
Andreas

You must be logged in to post messages in this topic!

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