Closed (won't fix)
Project:
Lightbox2
Version:
5.x-2.8
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2008 at 09:43 UTC
Updated:
2 May 2009 at 00:57 UTC
On a Drupal 5.7 site where Lightbox 2.7 worked nicely with JQuery_update 1.x, I disabled and then uninstalled the Lightbox 2.7 module, upgraded to JQuery_update 2.0, and installed Lightbox 2.8.
The Lightbox 2.8 version does not work now.
When I click on thumbnails on taxonomy list pages, in Image galleries or in image blocks, they just open the image node instead of a Lightbox view.
The main reason I upgraded was to get Taxonomy Manager sub-term expansion to work, which the upgrade to JQuery_update 2.0 fixed along with a fix to Taxonomy Manager. JQuery_update 2.0 seems to be working as it should...
Comments
Comment #1
stella commentedLightbox2 5.x-2.8 does work with jQuery Update 2.x. Did you run update.php? You may also need to clear your browser cache.
When upgrading jQuery Update to 2.x, you need to copy all of the JS files included with jQuery Update module to Drupal's misc/ directory, not just jquery.js.
If you've done all of the above and it's still not working, then send me a link to your site. My contact form is enabled if you wish to do so privately.
Cheers,
Stella
Comment #2
terryallan commentedYes JQuery 2 seems to cause problems. I was successfully using Lightbox and a range of other tools but I had to uninstall JQuery 2. The version of Lightbox I was using seemed to work but Collapsiblock and other facilities didn't. See link.
Comment #3
Leeteq commentedI cannot get it to work with JQuery update v2. Rolled back to JQ1x and Lightbox2.7 for now.
Comment #4
stella commentedLightbox2 5.x-2.8 does work with jquery update v2. Please ensure that you have copied *all* the js files from the jquery_update folder to your Drupal's
misc/directory, not just jquery.js. You will also need to run update.php and clear your browser cache.Comment #5
stella commentedMarking as "won't fix" as no updates in over a month. Please feel free to re-open the issue if the problem is still occurring.
Comment #6
pixelpreview@gmail.com commentedyes same problem with update to jquery update 2 when I replace old jquery.js in misc folder... lightbox is ok but when I put the files from jquery update module ... lightbox break down and show the image node.
Comment #7
stella commentedpixelpreview: you need to put all of the jquery update js files in the misc folder, not just jquery.js. If you have js aggregation enabled, you will also need to force the re-generation of that file. You also need to run update.php and finally you will need to refresh your browser cache.
Comment #8
Leeteq commentedRef. "If you have js aggregation enabled, you will also need to force the re-generation of that file."
Is that only relevant if using the javascript_aggregator module?
(http://drupal.org/project/javascript_aggregator)
I am not using the javascript_aggregator module, but have done the other steps to no avail, so on that site I went back to using JQuery Update 1.0 and Lightbox 2.7 instead.
Anyway, out of curiosity, and in case it could actually help resolve this;
How to force re-generation of that file? Is that a function or something within that module?
(I havent looked at that module yet.)
Comment #9
Leeteq commentedRef. JQuery_update 5.x-2.0 issue:
"collapsed fieldsets won't/can't be collapsed"
http://drupal.org/node/142216
Will try that and see if that solves it.
Comment #10
mroswell commentedI installed jquery 2 update
Copied ALL the js files in the module's misc directory to /public_html/misc
Cleared cache on drupal administration menu
Cleared views cache
opened a totally different browser
I am still not getting the lightbox effect. It opens to the file, for instance, files/imagecache/lightbox/photos/garden-spider.jpg
By now I may have changed some other relevent settings in the lightbox configuration.
Like others here I'll try updating to Jquery 1, and see if it works.
Comment #11
mroswell commentedRolled back to JQ1x and Lightbox 2.7, with success. (Just rolling back to JQ1x while using Lightbox 2.8 didn't work for me.)
UPDATE
Returned to JQuery update 5.x 2.0, with Lightbox 2.7, with success. So, the problem (of loading the jpg URL in the browser, instead of the proper lightbox window) seems to be narrowed down to the Lightbox 2.8 version.
Comment #12
stella commentedCan you try the dev version to see if it's still a problem there?
Comment #13
mroswell commentedI tried the dev version without success. (Thanks for the nice uninstall program, it made all the uninstalling and reinstalling go more smoothly.)
Comment #14
stella commentedEverything is working fine on my Drupal 5 test site. I'm using jquery_update 5.x-2.0 and the latest lightbox2 dev version. If you provide a link to your site I'll take a look. My contact form is enabled if you wish to do so privately.
Comment #15
stella commentedComment #16
stella commentedTry the newer release: 5.x-2.9.
Cheers,
Stella
Comment #17
stella commented