Tuesday 16 May 2006 5:52:02 am
Hi,
I have two class datatype: attribut_1 and attribut_2
I want to display these attribut sections only if attributs are not empty. I did this:
39 {section show=$node.data_map.attribut_1.content.is_empty|not}
40 The first attribute is: {attribute_view_gui attribute=$node.data_map.attribut_1}<br />
41 {/section}
42 {section show=$node.data_map.interphone.attribut_2.is_empty|not}
43 The second attribut is: {attribute_view_gui attribute=$node.data_map.attribut_2}<br />
44 {/section}
But I get at least:
The first attribute is:
The second attribut is:
both attributes are empty or not. Cordialy, Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
|