Lightbox & Panels
SamuelFreeman - March 26, 2009 - 03:35
| Project: | Lightbox2 |
| Version: | 5.x-2.9 |
| Component: | Javascript |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Hi guys,
First of all, thanks for the great new lightbox code, however I have encountered an issue where when I have lightbox2 enabled I cannot edit content in my Panel (module Pages. I have to disable lightbox2 every time I need to edit these pages, and that is almost every few minutes, however I cannot leave lightbox2 disabled!
Any help would be soooo helpful!
Thank you in advance,
Sam

#1
Can you explain why you can't edit your content? What happens?
#2
Panels uses javascript to create a popup where the content of your panel page can be edited, however with Lightbox2 enabled I get the follow issue (as shown in FF JS logs)
&("#lightboxAutoModal").triggerHandler is not a function
http://www.***.com/modules/lightbox2/js/lightbox.js
Panels popups are the only thing that is not working due to lightbox2 that I can currently find.
Thanks,
Sam
#3
Looks like you need to install jquery_update - any 5.x-2.x version of jquery_update should do. Don't forget to read the README file and follow all the installation instructions there.
#4
Is this still an issue?
#5
I'm still having an issue. I was using a supported 5.x-1.x version of jquery update, but it caused the same error. I upgraded to the 5.x-2.0 version of jquery update to get rid of that error and now there is no error, but lightbox doesn't work for any image links or images with class="lightbox". I enabled it on the automatic image handling tab. Is the custom class option only for image tags or image link tags? It says the former, but neither worked.
It continues to work for image links with rel="lightbox", but that's contrary the instructions at top of the automatic image handling tab. Which said I don't need to do that anymore.
Additionally, I thought there were lightbox display options & view fields for CCK imagefields, but now there are not. Does that sound right?
What am I missing? There's a hell of a lot more administrative options, so maybe that's what's messed up, but I can't find any obvious problems. I have all of the fancy handlers disabled (flicker & etc - wouldn't some of this functionality make more sense as suplimental modules?).
Thanks.
#6
I think this is a duplicate of #411162: Problem with 'automatic image URL re-formatting' with jQuery 1.3.x
#7
Might be related, but it doesn't seem like the same issue, or maybe I don't understand what you mean.
This issue is related to D5, not D6 or D7. My comment is related to the 5.x-1.x and 5.x-2.x version of jquery update which uses jquery 1.1.2 & 1.2.6 respectively, not jquery 1.3.
So, considering that none of the versions match, I would assume they are not the same issue. I'll leave it to you to update the status if you agree. BTW, any suggestions on the loss of CCK imagefield functionality or custom class not working?
Thanks
#8
This does sound like a similar issue to another one in the queue, related to jquery update. Do you have any errors? Check Firefox's Error Console (under tools menu). Perhaps an error about a trigger handler?
#9
I believe this to be a duplicate of #364666: collapsed fieldsets inaccesible after update - sorry I referenced the wrong jquery update issue last time.