Feature #16665
closed
Enable stdWrap for HMENU.alwaysActivePIDlist
Added by Jan Runte about 18 years ago.
Updated over 14 years ago.
Description
I would like to write
.alwaysActivePIDlist.dataWrap = {register:whatever},{whatever:itwillbe}
or
.alwaysActivePIDlist < tmp.WHATEVER
and so on.
It is misery unfortunate that I can set this variable dynamically in no way!
(issue imported from #M4427)
Files
that is because of missing stdWrap for this var - so there is no dynamic possible (only uncomfortable way with TS Conditions)
As Steffen Kamper pointet out,
.alwaysActivePIDlist.dataWrap = {register:whatever},{whatever:itwillbe}
does'nt work because alwaysActivePIDlist doesn't get evaluated by a call to stdWrap()
And
.alwaysActivePIDlist < tmp.WHATEVER
does'nt work because that copies the ts definition, not the resulting value (the value gets evaluated later, this is the way typoscript works)
Patch attached and posted in the core list.
Committed to SVN Trunk (rev. 4669)
Also available in: Atom
PDF