[TYPO3-english] TS combining 2 conditions: if val1=1 and ifEmpty val2

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Sat May 12 09:12:57 CEST 2012


Hello Loek,

Just another question:

On 5/12/12 8:04 AM, Bert Hiddink [BENDOO e-work solutions] wrote:
> Looked for a variant and just figured out that this:
> ...
> override = AAA
> override.if {
> value = value-to-check
> isInList.field = nav_title
> }
> ...
> would check the field against a certain value...
>
> Not that intuitive but worked!
>
> Thanks!
> Bert

Just for sharing: how to get this work with multiple overrides? I tried 
with a COA...

...
          10 = TEXT
          10 {
              insertData=1
              value = AAA
              override.cObject = COA
              override.cObject {

                   10 = TEXT
                   10.value = BBB
                   10.if.value = 123
                   10.if.isInList.field = nav_title

                   20 <.10
                   20.value = CCC
                   20.if.value = 456

                   30 <.10
                   30.value = DDD
                   30.if.value = 789
              }
              if.equals = 1
              if.value.data = cObj:parentRecordNumber
          }
...

and this worked!

Thanks again and greetz,

Bert


More information about the TYPO3-english mailing list