[ic] If and component problem

Joachim Leidinger interchange-users@icdevgroup.org
Mon Dec 9 15:34:35 2002


Alex Lofaso (Planetanime.com) wrote:
>>>[if data preorders::area::@@MV_PAGE@@]
>>>My component yatta yatta
>>>[/if]
>>
>>Try to use a scratch-variable:
>>
>>[seti foo]@@MV_PAGE@@[/seti]
>>[if data preorders::area::[scratch foo]]
>>My component yatta yatta
>>[/if]
>>
>>
>>René
>>
>>
> 
> Thanks for the help Rene, but I am still having no luck.  Is there maybe a
> better way to test for data?  I know that foo is being set properly as I
> can output it in the page.  And I'm using 4.8.6...
> Thanks
> 
> Alex

Try

[tmp foo][data ...][/tmp]
[if scratch foo]
My foo is ...[scratch foo]! :-)
[/if]

or

[seti foo][data ...][/seti]
[if scratch foo]
My foo is ...[scratch foo]! :-)
[/if]


jojo


-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de