[TYPO3-english] One more condition problem
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Mon Sep 7 10:47:42 CEST 2009
Hi
I don't know if you can do that, as it again will depend upon if the
property has stdWrap. It wouldn't surprise me at all if you could.
> How can I know if some property supports stdWrap or not?
Look in TSref!! Everything is in there and it's just a matter of
learning it.
hth
Pero Matic wrote:
> 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