collapsed fieldsets inaccesible after update
| Project: | Lightbox2 |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I updated this module on a site yesterday, and now the arrows to expand fieldsets are not longer visible, so fieldsets cannot be expanded. This is not a theme issue as i have checked with core themes.
Has anyone else noted this? Any ideas on what it is/a conflict with another module.
All modules are up to date - several were updated the same time as Lightbox. Switching Lightbox off resolves the issue.
Contrib modules used/enabled are:
Ad
Admin menu
CCK
Global redirect
Imaegcache
Imagefield gallery (issue exists without this module enabled)
google analtics
IMCE
Logintobogan
Mollom
Path redirect
Pathauto
poormanscron
tinymce
Token
update status
video Filter
Panels
jQuery update
external links
views
XML sitemap

#1
I have the same problem. I just went back to 2.8 and everything works fine again.
#2
I am having the same problem with 2.9 and 2.8 I had to go back to 2.7 for it to work right...
#3
I found out the problem seems to be the version of jQuery. After i updated with jQuery Update 1.0 to 2.0 then Ligthbox2 problem disappeared.
#4
still not works for me.
Lightbox2 5.x-2.9
jQuery Update 5.x-2.0
No error reports.
I cannt upgrade to drupal6 because of a multisite hosting on this.
#5
Oh, I got a script error after enable firebug (sorry for forget it )
$("#lightboxAutoModal").triggerHandler is not a function
http://cg6.nacta.edu.cn/sites/all/modules/lightbox2/js/lightbox.js
Line 1111
#6
it works after I fallback to 2.7 and ** CLEAN THE TEMP FILES OF MY BROWSER **
#7
This issue may be fixed in the latest dev version of the module. I certainly can't reproduce it.
If you can reproduce it, can you let me know what version of the jquery_update module you are using?
#8
Same problem here :
Message in Firebug console : $("#lightboxAutoModal").triggerHandler is not a function
... which disappeared after downgrade to 5.x-2.7.
Tried the dev version to no avail. Cleared cache between tests.
jquery_update 2
#9
I don't know if my understanding on the question is right but its almost the same anyway. Its my first time to use lightbox2 and after a fresh install I can't set it up because the arrow in the fieldsets are not expandable. I read somewhere on forums to change: sites/all/modules/lightbox2/js/lightbox.js on line 1111
$('#lightboxAutoModal').triggerHandler('click');
to
// $('#lightboxAutoModal').triggerHandler('click');
and it worked for me.
It's fulfilling to see this module work on our site! =)
#10
or you upgrade to the latest dev version...
#11
I just hit this and discovered that it was simply a Browser caching issue. Latest Lightbox and JQuery update.
Maybe the javascript above should be:
if(typeof triggerHandler == 'function') {
$('#lightboxAutoModal').triggerHandler('click');
}
as an bridging step to avoid this issue.
#12
Please use jquery update version 5.x-2.x and you should not have this issue. The jquery_update-5.x-1.x version is no longer supported.
Also, please remember that every time you upgrade your Drupal installation, you will need to re-copy all the js files from the
jquery_update/misc/directory to your Drupal installation'smisc/directory. You may need to clear your browser cache after doing this. Also, if using compressed javascript files, you may need to regenerate them.If this is still an issue for you, after completing all of the above steps, please provide a link to your site where I can see it in action.
Cheers,
Stella
#13
Hey,
Just jumping in here because I think I am having the same issue. Here's the setup...
I have either of these links (below). One a test with a basic image and the other, a setup that was working till I updated. It was swfs embedded with a rel="lightframe"
I have tried both jquery_update 1.0 and 2.0 but currently using 2.0
With lightbox 2.7, the image links work but, swf won't. After upgrading to 2.8, 2.9 or 2.x-dev, neither loads and the result is the correctly sized lightbox with the loading gif, stuck in loading mode. I'm not sure if the actual image or swf is actually loading into the lightbox div but, the lightbox does change size approporiately for the image which is not having dimpnsions passed through the link.
The odd thing is that this was all working great until I updated but, the mistake I made was not remembering which version I was running specifically. Side note would also be that I installed the filefield, mimedetect and taxonomy-hide modules, not sure if they could effect lightbox?
and help is greatly apprecaited
cheers
-Dan
#14
This doesn't sound like the same issue. This issue is regarding collapsed fieldsets not working. I think your problem may be a duplicate of #362039: Displaying video content (.swf) not working or #370883: Unable to get SWF working. If it's not, then please open a separate issue.
#15
I suppose it's not the same issue in terms of the field sets but, I was experiencing the same triggerHandler error. Also, I had originally thought it was specifically a video issue but, even basic image links aren't working, the lightbox loads, resizes but, never appears to load the image. Although, if I look in the html, the links to the image are there. Below is an example of an standard image link that gives this result.
<a rel="lightbox" href="/files/setupTSI_full.png"><img src="/files/setupTSI_thumb.png"/></a>thanks
-Dan
#16
I suppose it's not the same issue in terms of the field sets but, I was experiencing the same triggerHandler error. Also, I had originally thought it was specifically a video issue but, even basic image links aren't working, the lightbox loads, resizes but, never appears to load the image. Although, if I look in the html, the links to the image are there. Below is an example of an standard image link that gives this result.
<a rel="lightbox" href="/files/setupTSI_full.png"><img src="/files/setupTSI_thumb.png"/></a>thanks
-Dan
#17
Can you check if you've installed jquery_update correctly? Every time you upgrade your Drupal installation, you will need to re-copy all the js files from the jquery_update/misc/ directory to your Drupal installation's misc/ directory. You may need to clear your browser cache after doing this. Also, if using compressed javascript files, you may need to regenerate them.
If this is still an issue for you, after completing all of the above steps, please provide a link to your site where I can see it in action.
#18
Thanks for the quick reply Stella. I have updated the files a few times (about 6 of them) and also cleared the cache. The only one I am not sure about it the compressed js files but, I'm pretty sure that things are updating ok because if I roll back to lightbox 2.7, the lightbox will display an image. I am going to send you a link to my site where you can see whats happening using jquery 2 and lightbox 2.9
thanks
-Dan
#20
I had a quick look at your site, you're running an old version of jquery. Please ensure you've followed _all_ of the instructions in the jquery_update module's README file. You need to copy all of the js files to Drupal's misc/ directory.
#21
Bingo, I had updated the files but, on the wrong installation. The company sysadmin had changed the base install directory for drupal so I wasn't updating the right /misc directory. So, now running lightbox 2.9 and jquery 2.0 works fine. Thanks for your help.
Great job on the module and also with support (I am a support person myself so I really appreciate great support)
cheers
-Dan
#22
I just want to throw my two cents in but I have been experiencing this issue on some Drupal 6 websites. If jquery_update.module is running and you turn the lightbox2.module on, the collapsible fields fail.
I just started experiencing this. Testing this on a base install of Drupal 6.12 with only a few nodes and running Garland. Running the latest dev of lightbox2.module and the latest dev of jquery_update.module.
Firebug popped out this error right after I turned lightbox2.module on.
[Exception... "'Syntax error, unrecognized expression: )' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]
Line 0
#23
Also kills any conditional fields collapses (cck conditional fields) and vertical tabs. From what I can tell, it looks like incompatibility with lightbox2.module and jquery.1.3.x - but still looking.
I find it interesting that no matter what I do to the config, if I turn lightbox2.module on that it seems to break everything.
#24
What was the solution on this issue? http://drupal.org/node/453210
#25
Ooo! I found a fix!
Now, of course, this is for Drupal 6 - not Drupal 5. Thanks to Roberto from www.speedtech.it for helping out with this.
#26
Automatically closed -- issue fixed for 2 weeks with no activity.
#27
How is this fixed? This incomaptability has just hit me as there's nothing on the project page warning of this compatability issue. I have tried JQuery 1 and 2 and neither work.