This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.0 » Can't remove prototype from <head>
Can't remove prototype from <head> [message #58523] Tue, 12 August 2008 15:52 Go to next message
adriani  is currently offline adriani
Messages: 7
Registered: July 2008
Location: Iasi
Junior Member
Hi guys,

I have a small issue with Prototype.
I have removed it from view.yml from the module, and from view.yml from the application, and from the settings.yml, but it still shows up in the <head> tags when accessing a page.
I need to do this for using FancyUpload.

Any help will be appreciated.

Thanks a lot in advance.
Re: Can't remove prototype from <head> [message #58532 is a reply to message #58523 ] Tue, 12 August 2008 18:22 Go to previous messageGo to next message
wissl  is currently offline wissl
Messages: 447
Registered: March 2008
Location: Germany
Faithful Member
Do you use the Javascript helper?

I am not sure about that, but some time ago I read somewhere, that the helper includes prototype if not happened before, because the helper relies on it.
Re: Can't remove prototype from <head> [message #101500 is a reply to message #58532 ] Wed, 23 June 2010 19:47 Go to previous message
reedcat  is currently offline reedcat
Messages: 26
Registered: April 2006
Junior Member
And still, is there any way to disable symfony from automatically adding prototype.js into the header? I am already adding it via absolute URL to our CDN so it is already defined once in the header. Symfony then throws it in there again...


  javascripts:    ['']


<script type="text/javascript" src=""></script>
<script type="text/javascript" src="/sf/prototype/js/prototype.js"></script>

Any idea on how to work this around?

[Updated on: Wed, 23 June 2010 19:59]

Previous Topic:Stumped on validation (getting "Array to string conversion" notice)
Next Topic:Problem with moving website to another server.
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software