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.

General Questions /

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

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

Loading jquery from google ajax apis


Go to End


998 Views

Avatar
Imbrondir

Community Member, 13 Posts

29 April 2011 at 10:55pm

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?