[TYPO3-dev] stdWrap hooks - problem in 4.5

Jigal van Hemert jigal at xs4all.nl
Fri Feb 4 23:48:07 CET 2011


Hi,

On 4-2-2011 21:47, Marcus 'biesior' Biesioroff wrote:
> the problem in above case is that the $configuration variable is not
> read anymore...

The refactoring of class.tslib_content.php also changed the way the 
stdWrap properties were processed.
There's an array $stdWrapOrder in tslib_cObj which determines both which 
properties are available and in which order they are executed. The $conf 
array is intersected with this array and this way the custom stdWrap 
property you use is removed.

You can use the stdWrapPreProcess hook to modify the array and add your 
own property to the array.

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh




More information about the TYPO3-dev mailing list