[TYPO3] Javascript Header Reference by default

Sancar Saran sancar.saran at evodot.com
Wed Jun 20 11:30:57 CEST 2007


On Wednesday 20 June 2007 12:07:02 Rens Admiraal wrote:
> Hi Sancar,
>
> I thought you tried to add the script using php. When you do it with
> Typoscript there is a better way to add javascript / css files:
>
> page.includeCSS = COA
> page.includeCSS {
> 	file1 = fileadmin/template.css
> 	file1.media = all
> }
>
> page.includeJS = COA
> page.includeJS {
> 	file1 - fileadmin/script.js
> }
>
>
> I don't know if it is possible to set the javascript include using
> static typoscript, but it might be possible. Static typoscript can be
> included in a plugin, when you create an extension using the
> kickstarter you will see the effect
>
Hi Rens

Thanks for support. Static typoscript one of my main needs. 

I hope I find a way near soon...

Thank you again :)

Regards

Sancar


More information about the TYPO3-english mailing list