Author Topic

Claus Jensen

Friday 09 January 2004 12:51:46 am

Comment14384

Hi Sathizh,
You could check to see wether that article's image attribute is an object(is_object). Check this: http://ez.no/developer/ez_publish_3/documentation/development/libraries/ez_template/operators/type_handling

And this in the template will do it:
{section show=is_object($node.object.data_map.image.content)}
blablabla...etc
{section-else}
something else...
{/section}

Hope this helps.

regards,
claÜs