开发者

Drupal: jquery update module... is possible to replace jQuery files in it?

I'm using Drupal jquery_update module to use a more recent version of jQuery.

I've enabled the module and the jQuery file included in its folder is used. However it is still old: min.1.2.6.js

So, I've tried to replace it with min.1.3.2, by replacing the file in the jquery update module "replace/" folder.

Unluckily I get some bugs in the the back-end, when I click on available updates, a lightbox is 开发者_Python百科triggered. See picture: http://dl.dropbox.com/u/72686/drupal-LightBox.png

Is possible to use jQuery 1.3... (or even better 1.4) on Drupal 6 ?

thanks


As specified on the jQuery Update module page,

  • "Stock" Drupal 6.x
    • jQuery 1.2.x
  • jQuery Update 6.x-1.x
    • jQuery 1.2.x (currently 1.2.6)
  • jQuery Update 6.x-2.x
    • jQuery 1.3.x (currently 1.3.2)

If your Drupal core is up to date, 6.x-1.x won't do anything for you. You'll have to install 6.x-2.x to update jQUery to 1.3.2. You can either install the latest alpha release or the latest development snapshot.


If you upgrade to jQuery 1.4+ You're gonna probably want to follow the instructions specified in the following link to disable the upgrade on the admin panel: Fix Drupal Admin Panel after installing jQuery Update Module


you also just replace the files in /modules/jquery_update/replace with whichever version you want to use. Just make sure to go to admin/settings/jquery_update and choose the type of file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜