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

Jigal van Hemert jigal.van.hemert at typo3.org
Thu May 10 22:33:33 CEST 2012


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

-- 
Jigal van Hemert
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list