[TYPO3-english] One more condition problem

Pero Matic pero at matic.com
Mon Sep 7 12:28:57 CEST 2009


Reinhard Führicht wrote:
> Following works for me:
>
> page = PAGE
> page.10 = TEMPLATE
> page.10.template = FILE
> page.10.template.file
> page.10.template.file {
>   cObject = TEXT
>   cObject {
>     value = fileadmin/templates/index.html
>     override = fileadmin/templates/index2.html
>     override.if.isInList.data = TSFE:id
>     override.if.value = 276,275
>   }
> }
>
> So I think your problem lies within
>
> isInList.dataWrap = {register:newsCategoryUid}
>
> How about that?
>
> isInList.data = register:newsCategoryUid

I really hopped this will work because it looks fine but no luck :-( I can't 
believe it. And i have similar code with CASE which works fine:

PID = CASE
  PID {
    key.data = register:newsCategoryUid
    4 = TEXT
    4.value = 18
    default = TEXT
    default.value = 18
  }





More information about the TYPO3-english mailing list