[TYPO3-english] One more condition problem

Pero Matic pero at matic.com
Mon Sep 7 10:42:15 CEST 2009


Tyler Kraft wrote:
> Hi,
>
> Well it really depends upon where you can apply stdWrap. For instance
> if singlePid has stdWrap then you could do something like this:
>
> 210 = COA
> 210.10 < plugin.tt_news
> 210.10.code = MOST_POPULAR
> 210.10.singlePid = 3
> 210.10.singlePid.override = 7
> 210.10.singlePid.override.if.isInList.dataWrap =
> {register:newsCategoryUid} 210.10.singlePid.override.if.value =
> 54,56,57,60,etc..

Hm, interesting but it seems singlePid doesn't have stdWrap. But now i made 
things more simple. Is it possible to apply this code (modifed of course) to 
this:

page.10.subparts.body.template.file = temp1.tmpl
if register:newsCategoryUid is in list of (54,56,57,60,etc.. ) then
page.10.subparts.body.template.file = temp2.tmpl

Maybe something like:

page.10.subparts.body.template.file.override = temp2.tmpl
page.10.subparts.body.template.file.override.if.isInList.dataWrap = 
{register:newsCategoryUid}
page.10.subparts.body.template.file.override.if.value = 54,56,57,60,etc..

How can I know if some property supports stdWrap or not?

Thx. for help!





More information about the TYPO3-english mailing list