[TYPO3] Include reference to external javascript file

Dmitry Dulepov dmitry at typo3.org
Thu Oct 19 07:59:41 CEST 2006


Hi!

Peter Gallagher wrote:
> It turns out that my hosting provider has implemented an intrusion 
> detection system in there shared hosting environment that is filtering 
> out anything that looks like a cross-site scripting attack. This has 
> been messing with my head for about two days now. So basically I cannot 
> add any files or make any template changes that have javascript.
> 
> Totally sucks!
> 
> I guess I am going to have to make those changes locally and then update 
> the server via a t3d file - bites my butt.

Try something like this:

page.headerData.100 = TEXT
page.headerData.100.value = script type="text/javascript
src="fileadmin/templates/scripts/menu.js"></script
page.headerData.100.wrap = <|>

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list