[TYPO3-core] RFC: #12611: Add preRenderHook in pageRenderer

Oliver Hader oliver at typo3.org
Tue Nov 17 17:56:38 CET 2009


Hi Steffen,

Steffen Kamper schrieb:
> Hi,
> 
> This is SVN patch request.
> 
> Type: Bugfix
> 
> Branches: trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=12611
> 
> Problem:
> if the loading order or other things are not sufficient for specific
> usecases there should be a hook where you can manipulate the render data
> for the needs.
> 
> This patch adds a preRenderHook.

I think the hook should be as any other hook:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess'].
Besides that, wouln't it be better to move the hook before "$jsLibs =
$this->renderJsLibraries();"?

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list