[TYPO3] Include reference to external javascript file

Peter Gallagher pgallagher at electricretina.com
Wed Oct 18 22:33:58 CEST 2006


That's what is so strange about this. I can add other statements and it is fine, but as 
soon as I add script into the template it doesn't work.

page.headerData.100 = TEXT
page.headerData.100.value = <p> test</p>

This works. External CSS files work fine too.

I am going to query my host and my internet connection providor to see if they are 
filtering stuff. It is just very weird.

Daniel Selinger wrote:
> That's strange.
> Had you added some other js-files?
> What's about external css-files?
> Are other statements possible?
> 
> 
> 2006/10/18, Peter Gallagher <pgallagher at electricretina.com>:
>>
>> I have been having a problem getting a reference to an external js 
>> file to
>> be written into
>> the header. The problem is that when I add the following code to my
>> typoscript config it
>> does not get saved, the template file returns to its previous state.
>>
>> page.headerData.100 = TEXT
>> page.headerData.100.value = <script type="text/javascript
>> src="fileadmin/templates/scripts/menu.js"></script>
>>
>> I have typed this numerous times and when I click 'update' what I just
>> added is removed
>> and the template looks like it did before I added it.
>>
>> Does anyone have any idea why? Could my host be filtering out the
>> reference?
>>
>> Very frustrated!
>> Peter Gallagher
>>
>> ::share::
>> _______________________________________________
>> 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