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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Loading jquery from google ajax apis


Reply

637 Views

Avatar
Imbrondir

29 April 2011 at 10:55pm Community Member, 13 Posts

Is there any way to make all instances of jquery to be loaded from google apis instead the local/sapphire/thirdparty? I mean I know can put in a
<% require javascript(http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js) %>

But when logged in to the cms, ss loads the local one overwriting the the first and everything bound to it. Perhaps not a huge problem, since it still works while logged NOT in. Mostly just annoying since you can't show anything in the stage module. Is there anything to be done here?