[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 14:17:38 CEST 2013
Hello Joey,
On 7/6/13 8:01 AM, Bert Hiddink [BENDOO e-work solutions] wrote:
> 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!
And how if I would like OR instead of AND?
Thanks!
-brt
More information about the TYPO3-english
mailing list