Forums / Setup & design / Display Parent Node Name???

"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".

Display Parent Node Name???

Author Message

Douglas Johnson

Saturday 12 July 2003 7:13:02 am

What is the statement I use to display the "name" of the parent of the current node the user is in? Example:

CompanyX
--------Products
--------------product1
-------------------specs
-------------------warranty
--------------product2
-------------------specs
-------------------warranty
--------------product3
-------------------specs
-------------------warranty
--------Contacts
--------------Sales
-------------------Jim Orr
-------------------Tim Farris
--------------Mkting
-------------------Wendy Layton
-------------------Bob Waters

If the user is in "product2", how do I display the name of it's parent node "Products"?

Thanks in advance. Doug Johnson

Selmah Maxim

Sunday 13 July 2003 3:57:29 am

try this :
{$node.parent.name}