Friday 07 May 2004 5:05:32 am
I am using switch case as:
{switch name=Sw1 match=$node.object.data_map.article_image2.content[original].full_path|ezroot}
{case match=''}
Null Value
{/case}
{case}
Hello World
{/case} {/switch} This is working. But when i change my code on my requirement with the following
{switch name=Sw1 match=$node.object.data_map.article_image2.content[original].full_path|ezroot}
{case match=''}
Null Value
{/case}
{case}
{set imgg="Hello World"}
{$imgg}
{/case}
{/switch}
OR
{switch name=Sw1 match=$node.object.data_map.article_image2.content[original].full_path|ezroot}
{case match=''}
Null Value
{/case}
{case}
{let imgg="Hello World"}
{$imgg}
{/let}
{/case} {/switch} Then this is not working. Can any body solve my problem?
Muhammad Khalid
Software Engineer
www.webgurru.net
|