Forums / Setup & design / Print the title of an object

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

Print the title of an object

Author Message

Bjørn Kaarstein

Saturday 29 March 2003 11:30:25 am

I have created folders with names like Mainpage, Services, contact etc, in order to create a dynamic menu. That works fine with fetch and a section with a loop.

How do I print the name of a specific folder, eg the folder Mainpage which has the id 215?

Regards Bjørn.

Paulo Almeida

Saturday 29 March 2003 4:19:11 pm

I'm not an expert, but i'll try to help.
If I understand what you want, with next 2 lines you can do it.

{let ss=fetch('content','node',hash(node_id,215))}
{$ss.name}

If someone has a better solution, I apreciate too.

Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com