Tuesday 10 May 2005 8:40:42 am
hi all
i've this problem: i've written this code:
{section show =$parent.object.data_map.site_image.content.is_empty|not}
{attribute_view_gui attribute=$parent.object.data_map.site_image}
{section-else}
{attribute_view_gui attribute=$grand.data_map.site_image} {/section}
the aim of this code is to display an attribute called site image of the parent of current node if the attribute is empty i want it to display the grand parent's site image
<b>but it is not working</b> please ppl if u can help me on that, i'll be thankful. thanks in advance.
|