[TYPO3-english] Adding a post-processing method after page has been rendered
Christine Gerpheide
cgerpheide at gmail.com
Wed Mar 24 14:33:58 CET 2010
Dmitry -- Perfect, thank you! I'll try this out ASAP.
Christine
2010/3/24 Dmitry Dulepov <dmitry.dulepov at gmail.com>
> 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/
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list