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

Christine Gerpheide cgerpheide at gmail.com
Wed Mar 24 17:15:17 CET 2010


Hi Dmitry,

Thank you very much.  I've tried it out now, and the only thing I notice is
that it doesn't include FE plugin content (like felogin, this is rendered
later.. I guess?), but for my purposes that's actually OK.

Thanks again,
Christine

2010/3/24 Christine Gerpheide <cgerpheide at gmail.com>

> 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
> >
> _______________________________________________
> 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