[TYPO3] IncludeCSS.[array] -> "includeJAVASCRIPT.[array]" as well?
Ingo Renner
typo3 at ingo-renner.com
Thu Feb 16 21:38:15 CET 2006
Am Thu, 16 Feb 2006 15:56:54 +0000 schrieb Kilian Hann:
> Ingo Renner wrote:
>
>> yes, will come with 4.0 =)
>
> Thanks! is there some more clever workaround instead of
> page.headerData.10 =COA ....
>
> (because how can I be sure that nobody else has already used 10 in an
> other extension to add javascript/other header data ?!)
extension? Do you want to add JS to the page from your own extension?
This would require a complete different way:
$GLOBALS['TSFE']->additionalHeaderData['tx_ext_key'] = "your javascript
here";
Ingo
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-english
mailing list