Get the section_id of a node?

Author Message

Lydie Soler

Wednesday 10 August 2005 4:45:31 am

Hi I have the following code

{let monnoeud=fetch( 'content', 'node', hash( 'node_id', $menu.id ) )}

now I would like to get the section_id where monnoeud belongs to.

It seems that it is node directly available....

How can I do that?

Thanks for your help

Lydie Soler

Wednesday 10 August 2005 5:35:42 am

leave it I have found...

{$monnoeud.object.section_id}

with the help of this page
http://ez.no/doc/ez_publish/technical_manual/3_6/templates/the_template_language/array_and_object_inspection

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