Forums / Setup & design / Template function
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
Tuesday 09 August 2005 2:51:02 am
Thank you, Paul!I've tried it and it works!
Bye,