XModPro

"AND" / "OR" in statement

HouseHandler HouseHandler posted Sep 19, 2014
Active Aug 17 · Viewed 1502 times

Is there any If or case statements that I can use a "AND" or "OR" in it?

Such as 

<xmod:IfNotEmpty Value='[[Url:Reviews]]' OR Value='[[Url:Taglines]]'>

Test Value Found |[[Url:Reviews]][[Url:Taglines]]|

</xmod:IfNotEmpty>

I tried this but it did not like it.

<xmod:IfNotEmpty Value='[[Url:Reviews]][[Url:Taglines]]'>

Test Value Found |[[Url:Reviews]][[Url:Taglines]]|

</xmod:IfNotEmpty>

I have a large case statement that if any of the cases are true then I want to display a template1 and the template that matches the case statement else i display template2.  I don't want to have to put the template1 in each of the case statements.

2 Replies

Loading replies...