Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When running multiple sites on top of the same source code, it is difficult to follow the instructions without requiring to upgrade jquery on *all* sites since it is requested to replace jquery.js in the common folder drupal/misc
To workaround this I did the following:
- installed the module in drupal/sites/*sitename*/modules/
- added a redirect rule in apache to redirect http://sitename/misc/jquery.js to the site specific path hosting jQuery 1.2.6
If this can help
Comments
Comment #1
pfaocleThanks for the idea - just hit this problem enabling Lightbox2 on just 2 sites in a 15-strong multisite setup. I really don't want to have to enable this module on all those 15 sites if they don't need it.
I am assuming that over-writing the various JS files in misc/ and not enabling the module is A Bad Idea.
Comment #2
open-keywords CreditAttribution: open-keywords commentedThanks for the feedback
Additionally, if you want to disable the system warning on admin/logs/status (saying the jquery.js file hasn't been updated in /misc ) you can comment out the corresponding code in jquery_update.install
Comment #3
open-keywords CreditAttribution: open-keywords commentedTo be clean and complete, you need to have a redirect rule for every javascript file provided in jquery_update/misc/
If you don't, you may experience trouble like collapsible fieldsets not closing after being expanded.
Regards
Comment #4
pfaocleYep. Not using this anymore, so forgive me if this is inefficient/broken/unfinished, but for any lighty users:
Could be cleaner, but there we go.
Comment #5
eyurdakul CreditAttribution: eyurdakul commentedthis problem may occur in many custom js, it is not just the collapsible 's.
current jquery of the jquery update module can't handle the animations with negative left property.
to solve this, just go to the misc folder and replace the jquery.js with the latest jquery.
Comment #6
heddnMarking this as won't fixed. 5.x is no longer supported/maintained. If this is still an issue in 7.x, then please re-open.