Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

remove javscript from front end


Go to End


2 Posts   11172 Views

Avatar
erwanpia

Community Member, 63 Posts

16 December 2008 at 9:34am

Hi, I want to use jquery on the front end but prototype is interfereing

the following in page controller does not remove the javascripts, how can I remove them ? thanks

Requirements::clear_combined_files();
Requirements::clear();

Avatar
Liam

Community Member, 470 Posts

16 December 2008 at 9:46am

Requirements::block('/path/to/js'); should work.