Pagelayout problem

Author Message

John Smith

Monday 14 March 2005 4:09:39 am

hi there,

In my pagelayout override file, for left menu, i am using a swtich statment on the basis of $node.node_id to select/highlight the current folder's name in the menu.

For very first when you clear the cache it is working fine means i am getting the value of $node.node_id, but when go to the other menu items and repeat the process or navigate the left menu two-there times, i am not getting the value of $node.node_id.

I dont know whats happening here.

Please help

cheers

Eivind Marienborg

Monday 14 March 2005 4:26:59 am

Try using $module_result.node_id instead. See http://www.ez.no/ez_publish/documentation/customization/custom_design/template_variables_set_by_ezpublish for more info.

John Smith

Monday 14 March 2005 5:12:13 am

thanks mate for your quick reply.. sorted.

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