[ic] Re: Comparing scratch variable with item-param

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Tue Aug 27 05:20:05 2002


Tomy Wagner writes: 

> 
> In a tree tag I am trying to do the following: 
> 
> [tree ... ] 
> 
>   <a href=".." class="[if-item-param code eq "[scratch
> mycode]"][then]class1[/then][else]class2[/else][/if-item-param]"> 
> 
> [/tree] 
> 
> But the problem is that the code item-param never matches the scratch
> variable, (but it should :) does anyone have any suggestions ?

[if scratch mycode eq [item-param code]] 

Your syntax is invalid, read the docs / ML archives for more info. 

Bye
    Racke 

 

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.