[TYPO3-english] pt_extlist with condition if else

bernd wilke t3ng at bernd-wilke.net
Tue Mar 31 09:20:09 CEST 2015


Am 31.03.15 um 09:07 schrieb Sebastian Gärtner:
> Hello
> I have the following typoscript setup for pt_extlist

was soll denn 10 innerhalb von TEXT sein?


> 15{
>                label = UNTIL
>              columnIdentifier = years_paid
>              fieldIdentifier = years_paid
>              renderObj = TEXT
>              renderObj {
>               field = years_paid

soweit sieht das ok aus

>               10 = TEXT

du bist innerhalb von TEXT, da gibt es kein .10
(also diese Zeile weg)

>               10.value = <strong>|</strong>
du möchtest einen Wrap machen:
		wrap = <strong>|</strong>
>               10.if {
der dann bedingt sein soll:
		wrap.if {
der rest sollte dann passen
>                    value = 2016
>                    isInList.field = years_paid
>                 }
>             }
>          }
>
>
> BUt its not working. I want to basically wrap something around if the
> value of years_paid is 2016


bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list