Optional content items - how to NOT display in a template?

Optional content items - how to NOT display in a template?

Tuesday 29 July 2003 5:42:11 am - 2 replies

Author Message

Bjørn Kaarstein

Tuesday 29 July 2003 6:47:46 am

Try something like this...

{section show=ne($node.data_map.myimage.content)}

<img src={$node.data_map.myimage.content[medium].full_path|ezurl} hspace="5" vspace="5" border=1 align=left>

{/section}

Regards Bjørn

Pirkka Hartikainen

Tuesday 29 July 2003 2:39:20 pm

Works!!! Thank you.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.