Forums / Setup & design / Which content node is accessed?
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
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs