Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Monday 07 February 2005 7:38:43 am - 1 reply
Kristian Hole
Monday 07 February 2005 11:10:25 am
Out of the top of my head i would try something like:
{section show=$node.object.data_map.description.content.is_empty|not} <div class="attribute-long"> {attribute_view_gui attribute=$node.object.data_map.description} </div> {/section} {section show=$node.object.data_map.file.content} <div class="attribute-file"> <p>{attribute_view_gui attribute=$node.object.data_map.file icon_title=$node.name}</p> </div> {/section}
The {section show=..} works like a if statement, showing everything within {section show=condition} and {/section} if the condition is true.
Kristian http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute
You must be logged in to post messages in this topic!