Page 1 of 1

Gallery - AE Gallery Bugfix

Posted: Fri Aug 11, 2017 8:56 pm
by datenmuehle
While trying to use AE-Gallery Template of Gallery module i can't get it running. As i see in browser debug log it tries to load jquery from google directly. But cross site policy prevents loading of script's from other domains. And as i see CMSMS already comes with appropriate jQuery Version 1.11.1.

So, fix this

Code: Select all

<__script__ type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></__script>
to this

Code: Select all

<__script__ type="text/javascript" src="/lib/jquery/js/jquery-1.11.1.min.js"></__script>
and template works well.

Re: Gallery - AE Gallery Bugfix

Posted: Fri Aug 11, 2017 9:19 pm
by Rolf
Using SSL?
If so, this should work too:

Code: Select all

src="https://ajax.google...
Or even better:

Code: Select all

src="//ajax.google...

Re: Gallery - AE Gallery Bugfix

Posted: Fri Aug 11, 2017 9:33 pm
by datenmuehle
Simple, but yes works well...

Thanks!