[TYPO3] add css and javascript to new extension
Fatih Dikme
fatih at duryas.com
Sun Dec 30 23:26:34 CET 2007
You can just simple add under template -> setup
## CSS
page.includeCSS {
file1 =
}
and
## Javascript
page.includeJS {
file1 =
}
Fatih
> You can have a look at extensions that include JS, such as Lightbox
> implementations, and you'll see that they add HTML code into page header
> in the PHP source code:
>
> $GLOBALS['TSFE']->additionalHeaderData['somekey'] = '<script src ...
>
> Regards
>
> --
> Jan Bednarik
> www.bednarik.org - web about Typo3 in czech
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list