Template function

Author Message

Salvatore Guarino

Monday 08 August 2005 2:45:28 am

Is there a template function to output the name of the current section?

Thx,

Salvatore

Paul Borgermans

Monday 08 August 2005 6:34:14 am

Yes,

use something like (3.6 syntax)

{def $section=fetch( 'section', 'object', hash( 'section_id', $node.object.section_id ) )}
{$section.name|wash}

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Salvatore Guarino

Tuesday 09 August 2005 2:51:02 am

Thank you, Paul!
I've tried it and it works!

Bye,

Salvatore

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