[TYPO3-dev] stdWrap for userFuncs conf

Malte Jansen mail at maltejansen.de
Thu Dec 6 01:47:53 CET 2007


Hi,

what about this?

container = COA
container {
	10.postUserFunc = tx_rgmediaimages_fe->user_images
	10.postUserFunc  {
		test = TEXT
		test.data = register:imagewidth
	}
	stdWrap.....
}

I'm not sure if it works like this, but somewhere I used something like 
that for a userfunc...

Cheers,

Malte

Georg Ringer schrieb:
> Hi,
> 
> I just discovered a big missing feature and I don't have any clue how 
> this could be fixed. I would need stdWrap functionality for the 
> configuration of userFuncs.
> 
> Take e.g. this sample code
> postUserFunc = tx_rgmediaimages_fe->user_images
> postUserFunc  {
>     test = TEXT
>     test.data = register:imagewidth
> }
> 
> But all I will get inside the userFunc is
> ----------
> Array (
>     [test] => TEXT
>     [test.] => Array ( [data] => register:imagewidth )
> )
> ----------
> 
> It is already too lat to process this e.g. with cObjGetSingle.
> 
> Anybody got a hint where I could find the right place to add the stdWrap?
> 
> thanks a lot
> Georg




More information about the TYPO3-dev mailing list