In order to get a necessary jQuery plugin to work I had to upgrade my jQuery version to 1.4.

To do this I installed jquery_update and manually put 1.4 in the module directory.

That's working just fine for the public facing side of my site, but now various AHAH elements (like Views UI or FileField uploads) no longer work on the admin side.

I'd like to use Drupal's jQuery for admin/edit pages, and jquery_update's jQuery for everything else. What's the least hacky way of doing this? Or is there a totally different solution for this?

2 Answers 2


I had to do this recently also. Revert your jquery_update to 1.3.2 (or whatever it provides by default) and follow the instructions at http://drupal.org/node/1058168.

They key is to notice that you load the newer version of jQuery before the <?php print $scripts; ?> in your page.tpl.php.

The final thing you need to do, which is not mentioned there, is to load your jquery plugin in between the new jQuery and the jQuery.noConflict(). This will make it so you don't have to modify the plugin (That pages tells you how to modify the plugin if you can't do this final step).


You can still use jQuery Update if you want, you just need to apply the patch outlined in http://drupal.org/node/775924#comment-3010750. When you do this, you can also change the version of jQuery that is loaded for non-admin pages, or even use a variable_get.

This solution also plays nicely with Javascript Aggregator.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.