Is $node.node_id cleared on browser refresh?

Is $node.node_id cleared on browser refresh?

Thursday 15 January 2004 9:24:04 am - 2 replies

Modified on Thursday 15 January 2004 9:27:55 am by Barney Gumble

Author Message

Paul Borgermans

Thursday 15 January 2004 10:10:51 am

In pagelayout.tpl files and their overrides you should use $module_result.node_id instead of $node.node_id. The latter is only available the first time you call the page with this node id.

In view templates for classes and their objects it is entirely safe to use $node.whatever

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Barney Gumble

Thursday 15 January 2004 10:18:12 am

That's great, thanks Paul!

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.