[TYPO3] dont't cache output of ext

Ernesto Baschny [cron IT] ernst at cron-it.de
Sat Mar 31 11:49:12 CEST 2007


Felix Natter wrote: on 29.03.2007 17:25:

> I've coded a simple extension that inserts the right stylesheet
> based on a session variable (using
> $GLOBALS['TSFE']->additionalHeaderData[$this->baseId]='<link...').
> 
> In my template I call this ext with:
> page.101 < plugin.tx_fontsizecss_pi1
> 
> The problem is that the output is cached: my ext is only called
> once after I clear the frontend-cache.
> How can I disable the caching?

Simply make plugin.tx_fontsizecss_pi1 a USER_INT instead of an USER.

Cheers,
Ernesto


More information about the TYPO3-english mailing list