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

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