[TYPO3-english] pt_extlist with condition if else

Ralf-Rene Schröder ralf.rene at online.de
Wed Apr 1 12:05:53 CEST 2015


Am 01.04.2015 um 11:58 schrieb Sebastian Gärtner:
>                 stdWrap.if {
>                 isInList = 2016
>                 value.field = years_paid
>                 }
> 
> This is working now but  now it only shows the ones where the condition
> applies. How can i deal with the else case

stdWrap.if shows you only the whole record if the condition is true
use wrap.stdWrap.if ... this should only wrap if the condition is true
(you can also try wrap.if ... should also work)


-- 
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