[TYPO3-dev] alwaysActivePIDlist

Steffen Kamper steffen at dislabs.de
Mon Oct 23 13:05:01 CEST 2006


Hi Joey,

"JoH asenau" <info at cybercraft.de> schrieb im Newsbeitrag 
news:mailman.1.1161599873.25941.typo3-dev at lists.netfielders.de...
>> the property alwaysActivePIDlist is new since Version 4
>> Now when i set
>>
>> alwaysActivePIDlist = 4,7
>>
>> it works fine.
>>
>> Next step was trying to set it dynamically, but it doesn't work
>>
>> alwaysActivePIDlist < tmp.pids
>> or
>> alwaysActivePIDlist.(stdWrap.)dataWrap =
>> {register:ttnewsCat1},{register:ttnewsCat2}
>>
>> failed.
>>
>> How is the right way to set this property dynamic ?
>
> Read TSref:
> alwaysActivePIDlist -> list of integers
>
> Since there is nothing like "list of integers / stdWrap" this means you
> can't set it dynamically.
>
> A workaround could be using conditions.
> I.e. for different values based on the current rootline of the page
>
> [PIDinRootline = 1]
> temp.whatever.alwaysActivePIDlist = 1,2,3,4
> [global]
> [PIDinRootline = 2]
> temp.whatever.alwaysActivePIDlist = 2,3,4,5
> [global]
> [PIDinRootline = 3]
> temp.whatever.alwaysActivePIDlist = 3,4,5,6
> [global]
>
> This is not completely dynamic though.
>
> HTH
>
> Joey
>
i know that it is list of integer but i didn't know that copiing from a 
textobject with Integerlist as value fail.
I hoped that this was only cause my mistake.

hmm - conditions for that case is not a possible way. So may i make a 
featurequest for that in bugtracker ?

> -- 
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your knob sometimes!)
> Dieter Nuhr, German comedian
> openBC: http://www.cybercraft.de
> T3 cookbook: http://www.typo3experts.com
>
>
vg  Steffen 






More information about the TYPO3-dev mailing list