[TYPO3-english] pt_extlist with condition if else
bernd wilke
t3ng at bernd-wilke.net
Wed Apr 1 08:59:46 CEST 2015
Am 01.04.15 um 08:39 schrieb Sebastian Gärtner:
> 15{
> label = UNTIL
> columnIdentifier = years_paid
> fieldIdentifier = years_paid
> field = years_paid
> renderObj = TEXT
> renderObj {
> field = years_paid
> wrap.stdWrap = <strong>|</strong>
don't do this ^, do this v
wrap = <strong>|</strong>
> wrap.stdWrap.if {
> value = 2016
> isInList.field = years_paid
> } }
> }
>
>
> is still not working. also tried the wrap. only.
.stdWrap.if.isInList does work other way around:
.stdWrap.if {
IsInList = <single value>
value = <list>
}
so you need:
.stdWrap.if {
IsInList = 2016
value.field = years_paid
}
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list