[TYPO3-templavoila] Conditionals in Data Structure
Ron Hall
ron at busynoggin.com
Wed Sep 6 05:50:27 CEST 2006
I want to use conditionals in the typoscript of a field in my data
structure. Something like this.
10 = TEXT
10.value = Include this text if condition is true
10.if {
value = {$myConstant}
equals = on
}
Or even better something like this:
10 = TEXT
10.value = Include this if condition IS NOT met
[globalVar = TSFE:page | uid = {$myConstant}]
10.value = Include this if condition IS met
[global]
I can get this kind of code to work in a typoscript template but cannot get
it to work in the typoscript field of a Templa data structure.
Anyone have any insight into this?
Thanks,
Ron Hall
More information about the TYPO3-project-templavoila
mailing list