[TYPO3-english] Typoscript condition: if.equals never turns true [SOLVED]

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Fri May 11 08:33:55 CEST 2012


Hello Jigal!

On 5/10/12 10:33 PM, Jigal van Hemert wrote:
> Hi Bert,
>
> On 10-5-2012 21:51, Bert Hiddink [BENDOO e-work solutions] wrote:
>> 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
>
> Try it without the curly braces.
>
> if.value.data = cObj:parentRecordNumber

Yep!!! This worked...

Thanks a lot!

Regards,
Bert


More information about the TYPO3-english mailing list