[TYPO3-english] Inlcuding javascripts in bottom

Steffen Gebert steffen at steffen-gebert.de
Tue Jun 8 19:38:40 CEST 2010


Am 08.06.2010, 13:45 Uhr, schrieb Bing van Moorsel | Idar Creative  
<bing at idar.nl>:

> Thanks Both but the addJsFooter() is from 4.3.x im using 4.2.12
> is there an other way to do this instead of addJsfooter()?
>
> $GLOBALS['TSFE']->getPageRenderer()->addJsFooter($tets)
>
> Doesn't work (where $test is the javascript)
> And i dont want to include trough typoscript but in the php file.
>
> any suggestions?

Upgrade to 4.3 ;-)

Otherwise you only have the dirty way (which some other extensions go) to  
str_replace() </body>.

Steffen


More information about the TYPO3-english mailing list