[TYPO3-english] Typoscript condition: if.equals never turns true
Bert Hiddink [BENDOO e-work solutions]
hiddink at bendoo.nl
Thu May 10 21:51:49 CEST 2012
Hello,
Please have a look at this snippet. The value of
{cObj:parentRecordNumber} is printed (1,2,3,4) in the loop but the
condition:
if.equals = 1
if.value.data = {cObj:parentRecordNumber}
...never turns true
renderObj = COA
renderObj {
5= TEXT
5 {
insertData=1
field = title
dataWrap = <option value="{field:uid}">|
{cObj:parentRecordNumber} First item</option>
if.equals = 1
if.value.data = {cObj:parentRecordNumber}
}
10= TEXT
10 {
insertData=1
field = title
dataWrap = <option value="{field:uid}">|Other
items</option>
}
}
Any idea why? Any ideas? Thanks in advance!
Regards,
Bert
More information about the TYPO3-english
mailing list