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

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Thu Jun 6 21:29:52 CEST 2013


Hello,

The following 2 snippets work seperately:

1.

   tt_content.stdWrap {
     dataWrap = AAA|BBB
     dataWrap.if{
       value = 2
       equals.data=cObj:parentRecordNumber
     }
   }


2.

   tt_content.stdWrap {
     dataWrap = AAA|BBB
     dataWrap.if{
       value=0
       equals.field = colPos
     }
   }

However, how to combine these 2, that is:
  "cObj:parentRecordNumber=2 AND colPos=0"

Any ideas? Thanks in advance!

Regards,
Bert


More information about the TYPO3-english mailing list