[TYPO3] AND conditional statements?

La Farge Douglas doug at gcnpublishing.com
Fri Mar 21 01:02:23 CET 2008


I'm trying to get an AND conditional statement to work.
There are six possibilities and one will always be met.
[globalVar = GP:brand = accessories,globalVar = GP:city = m]
   menu_navigation.template.special.value = 4,11,114,13,19,20,58,3
[end]

[globalVar = GP:brand = accessories,globalVar = GP:city = lv]
   menu_navigation.template.special.value = 4,11,114,13,94,20,58,3
[end]

[globalVar = GP:brand = moda,globalVar = GP:city = m]
   menu_navigation.template.special.value = 4,11,113,13,19,20,58,3
[end]

[globalVar = GP:brand = moda,globalVar = GP:city = lv]
   menu_navigation.template.special.value = 4,11,113,13,94,20,58,3
[end]

[globalVar = GP:brand = fame]
   menu_navigation.template.special.value = 4,11,115,13,19,20,58,3
[end]

[globalVar = GP:brand = mrket]
   menu_navigation.template.special.value = 4,11,116,13,94,20,58,3
[end]

I want

[globalVar = GP:brand = accessories _AND_ globalVar = GP:city = m]
   menu_navigation.template.special.value = 4,11,114,13,19,20,58,3
[end]

[globalVar = GP:brand = accessories  _AND_  globalVar = GP:city = lv]
   menu_navigation.template.special.value = 4,11,114,13,94,20,58,3
[end]

[globalVar = GP:brand = moda  _AND_  globalVar = GP:city = m]
   menu_navigation.template.special.value = 4,11,113,13,19,20,58,3
[end]

[globalVar = GP:brand = moda  _AND_  globalVar = GP:city = lv]
   menu_navigation.template.special.value = 4,11,113,13,94,20,58,3
[end]

[globalVar = GP:brand = fame]
   menu_navigation.template.special.value = 4,11,115,13,19,20,58,3
[end]

[globalVar = GP:brand = mrket]
   menu_navigation.template.special.value = 4,11,116,13,94,20,58,3
[end]

Thanks in advance,
Doug




-+-+-+-+-+-+-+-+-+-+-+-+-+
Doug La Farge
doug at gcnpublishing.com
203.665.6211 x209 (w)
928.699.0663 (c)



More information about the TYPO3-english mailing list