Forums / Setup & design / Template function

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

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