Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » remove javscript from front end

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

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

Page: 1
Go to End
Author Topic: 7859 Views
  • erwanpia
    Avatar
    Community Member
    63 Posts

    remove javscript from front end Link to this post

    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();

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: remove javscript from front end Link to this post

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

    7859 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.