Thursday 07 April 2011 6:39:56 am
You should compare the identifier of the class with the class_identifier of $node.object (where we suppose your node is in the $node variable). Or you could compare the class ID (16) with the contentclass_id. See documentation for ezcontentobject and ezcontentclass:
- http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Objects/ezcontentobject
- http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Objects/ezcontentclass
and also try this in your template:
{$class|attribute(show)}
{$node.object|attribute(show)}
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|