Thursday 07 April 2011 5:02:11 am - 1 reply
Marko Žmak
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:
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
You must be logged in to post messages in this topic!