0

This occur after I added a Photobooth plugin in my hook_init function:

function myid_init() {
    drupal_add_js(drupal_get_path("module", "myid") . "/photobooth-js-gh-pages/photobooth_min.js"); 
    drupal_add_js(drupal_get_path("module", "myid") . "/photobooth-js-gh-pages/website/js/script.js");
}

This needs JQuery(1.11.2) to work, but Im assuming that Jquery has already a default Jquery. So why does it doesn't work?

I had installed JQuery Update Module and finds out in the Configuration Settings was only limited upto Jquery 1.10, which is not sufficient for my Jquery Plugin. How will I update the Drupal's default JQuery library to 1.11.2?

1 Answer 1

0

Check out the drupal.org document on using new versions of jQuery for a few solutions. One good solution is the JQuery Multi module that lets you target multiple versions of jQuery via its hook_jqmulti_libraries() hook (its README explains how).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy