Drupal 6: best way to upgrade jQuery?

Deadly 提交于 2019-11-28 09:23:04
30equals

the jquery update module doesn't install jquery 1.4. you need to manually update the jquery.js.

jQuery 1.4 breaks quite a few ajax bits in the admin UI, which are pretty essential. Luckily you can get around this by loading a different version of jQuery depending on what page you are currently viewing.

I recommend using the jQuery update module and modifying it with one of the solutions here (#7 or #11):

http://drupal.org/node/775924

A very nice solution is the following, especially for people who do not feel very comfortable patching any part of drupal.

The author provides a clean way of running the default jquery version and any other version (of your choice) - side by side.

http://drupal.org/node/1058168

googletorp

Take a look at the jQuery update module

I ended up creating my own solution based on a couple discussions on Drupal.org

It's available on GitHub and works 100% with Drupal/Pressflow 6 and jQuery 1.5.2

https://github.com/alexweber/jquery_update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!