Forums / Setup & design / Which content node is accessed?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential" - there is a page (a bit outdated but still very useful) that explains about the various variables.

Balazs