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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   10013 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.