Which content node is accessed?

Author Message

Philipp Melab

Wednesday 25 February 2004 12:28:11 am

I need to create a small Menuebar where the sections button the user is currently accessing is highlighted. But how to determine in the pagelayout which content node is displayed. If a user is, for example, in the "news" folder, the "news" button should be highlighted, but when a specific article, which has another node_id, too. Can anybody help me?

mfg Philipp

Balazs Halasy

Wednesday 25 February 2004 1:21:43 am

{$module_result.node_id}

..reveals the ID of the node (if any) that is being accessed. Fire up the doc page & search for "template variables set by eZ publish" - there is a page (a bit outdated but still very useful) that explains about the various variables.

Balazs

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