[TYPO3-english] Inlcuding javascripts in bottom
Bing van Moorsel | Idar Creative
bing at idar.nl
Tue Jun 8 13:45:42 CEST 2010
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?
"Steffen Gebert" <steffen at steffen-gebert.de> schreef in bericht
news:mailman.1.1275918991.2802.typo3-english at lists.typo3.org...
> Am 07.06.2010, 15:31 Uhr, schrieb Bing van Moorsel | Idar Creative
> <bing at idar.nl>:
>
>> As the function says its added in the HeaderData. However i want my
>> javascript on the bottom of my page.
>> fot instant on page.1000
>>
>> What function do i use :) ?
>
> PageRenderer's addJsFooter()
> $GLOBALS['TSFE']->getPageRenderer()->addJsFooter() or similar.
>
> Steffen
More information about the TYPO3-english
mailing list