[TYPO3-english] Combining 2 conditions with TS: cObj:parentRecordNumber=2 AND colPos=0

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Fri Jun 7 08:01:31 CEST 2013


Hello Joey,

On 6/6/13 10:20 PM, JoH asenau wrote:
>>      dataWrap.if{
>>        value = 2
>>        equals.data=cObj:parentRecordNumber
>>      }
>  >
>>      dataWrap.if{
>>        value=0
>>        equals.field = colPos
>>      }
>
> There are several options, but I prefer this one:
>
> dataWrap.if {
>    value = 2#0
>    equals.dataWrap = {cObj:parentRecordNumber}#{field:colPos}
> }
Wow, that's nice and compact! Works, thanks a lot!

Greetz,
Bert

>
> HTH
>
> Joey
>



More information about the TYPO3-english mailing list