Forums / Developer / Switch Case Problem / Comment40627

Author Topic

Paul Forsyth

Friday 07 May 2004 5:37:43 am

Comment40627

From your second case try:

{let imgg=0}

{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}

{/let}

What is the output now? Can you be explicit here - in your example you didnt specify what the output was.

paul

--
http://www.visionwt.com