[TYPO3-dev] Hook to modify additionalHeaderData of uncached extensions

Christian Weiske christian.weiske at netresearch.de
Thu Oct 4 09:07:57 CEST 2012


Hi,


I have the need to modify additionalHeaderData inserted by uncached
plugin (USER_INT).

For cached extensions and TypoScript code, this is trivial:

One can register a hook at
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess']
that allows you to modify the data easily.

Unfortunately, no such thing exists for uncached extensions, whose
header data get assembled into the page in 
> typo3/sysext/cms/tslib/class.tslib_fe.php
> function INTincScript()


I'd like to add a hook there, just before the str_replace() calls.
Is that sensible, or is there another way of changing the additional
header data of uncached plugins?


-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-




More information about the TYPO3-dev mailing list