[TYPO3-dev] dynamic js / css in external file
Björn Pedersen
pedersen at frm2.tum.de
Thu Oct 6 16:53:42 CEST 2011
Am 06.10.2011 16:50, schrieb Jacco van der Post:
> Hi,
>
> I have some dynamic JS and CSS in my class (pibase extension). This is
> being inserted inline in the frontend source code via
> $GLOBALS['TSFE']->additionalHeaderData
>
> How could I store this in temp external JS / CSS files, minify and load
> this?
>
> Just to clean up the source a bit.
>
> grtz Jacco
Hi,
Use the pagerenderer to add your JS / CSS.
Björn
More information about the TYPO3-dev
mailing list