[Plugin: All-in-One Event Calendar] Change Jquerytools to not serve from CDN
-
If you are having issues with cdn.jquerytools.org loading, you can set the javascript file to load from your own server instead. We will build this into a future release.
1) Download the jquery-tools-1.2.5.min.js file from here:
https://graphene.googlecode.com/svn/branches/1.6/js/jquery-tools-1.2.5.min.js
2) Save the file to:
wp-content/plugins/all-in-one-event-calendar/js/
3) Change the plugin to load the local file, edit:
wp-content/plugins/all-in-one-event-calendar/app/controller/class-ai1ec-events-controller.php on line 121 (depending on your ai1ec version) :
wp_enqueue_script( 'jquery.tools-form', 'https://cdn.jquerytools.org/1.2.5/form/jquery.tools.min.js', array( 'jquery' ), '1.2.5' );
change to these:
wp_enqueue_script( 'jquery.tools-form', AI1EC_JS_URL . '/jquery-tools-1.2.5.min.js', array( 'jquery' ), '1.2.5' );
https://www.ads-software.com/extend/plugins/all-in-one-event-calendar/
- The topic ‘[Plugin: All-in-One Event Calendar] Change Jquerytools to not serve from CDN’ is closed to new replies.