Thursday 22 January 2004 4:29:22 am
Hi, I have a problem with is_set function.
{section show = is_set($dispname.data_map.language_name.data_text)}
{$dispname.data_map.language_name.data_text}
{section-else}
{$dispname.data_map.default_name.data_text} {/section} Language_name and default_name are attributes of folder class. I want to display the default name if the language name is not present. The problem with this code is that it displays nothing if the language_name is not present. It is'nt going to {section-else}. Is there any problem with is_set syntax? Can anyone give any suggestions.
Thanks & Regards
Mahesh
|