Forums / Developer / get class in template file

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

get class in template file

Author Message

Scott Foster

Monday 20 December 2010 9:57:33 am

Is there anyway to return the Exponential class name in the template, not the php class name? for example

{$node|ez_class} = Event
{$node2|ez_class} = General Content Page

Scott Foster

Monday 20 December 2010 10:20:40 am

nevermind, http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Objects/ezcontentobjecttreenode answered my question.