[TYPO3-english] Include JavaScript

Jacco van der Post jacco at id-internetservices.com
Thu Mar 15 01:06:42 CET 2012

Op 13-3-2012 17:07, François Suter schreef:
> Hi,
>> I used to use this code in my fe-plugins:
>> var $extKey = 'user_t3xxx'; // The extension key.
>> $GLOBALS['TSFE']->additionalHeaderData[$this->extKey] = '<script
>> src="src_of_the_js"></script>';
> The methods pointed to by Kay are better, as the JS files get properly
> included into the rendering process, in particular with regards to
> concatenating and minifying. So it's really recommended and most
> settings exist since 4.3.

Is the uncached action thingy allready solved? I dont know better than 
that getPageRenderer() only worked at cached actions..

grtz Jacco

More information about the TYPO3-english mailing list