[TYPO3-english] Adding a post-processing method after page has been rendered

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Mar 24 14:23:00 CET 2010


Hi!

Christine Gerpheide wrote:
> Does anyone have an idea about how this might be possible?

You need this hook:

$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all']

In that hook you manipulate $GLOBALS['TSFE']->content.

Set hook like this in ext_localconf.php:

$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all'][$_EXTKEY]
=
'EXT:yourextkey/class.tx_yourextkey_hook.php:tx_yourextkey_hook->contentPostProcessing';

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member Read more @
http://dmitry-dulepov.com/


More information about the TYPO3-english mailing list