[TYPO3-english] pt_extlist with condition if else

Ralf-Rene Schröder ralf.rene at online.de
Tue Mar 31 12:48:50 CEST 2015

Am 31.03.2015 um 09:07 schrieb Sebastian Gärtner:
> BUt its not working. I want to basically wrap something around if the
> value of years_paid is 2016

i think this is what you need:
renderObj = TEXT
renderObj {
	field = years_paid
	wrap = <strong>|</strong>
        wrap.if {
		value = 2016
		isInList.field = years_paid

posibly you need a wrap.stdWrap.if (but i think it will work without it)

image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format

More information about the TYPO3-english mailing list