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.
After I have updated the color box module to version 7.x-2.3 the login form can#t be loaded with modal forms. I see only the blank overlay. The Workaround to login for Users of the Website is to deactivate Modal Forms.
Please, can anyone help me to resolve the Problem
Comments
Comment #1
frjo CreditAttribution: frjo commentedThe feature to open forms in a Colorbox is removed in the 7.x-2.x branch of Colorbox. If you insist on using it you need to use the old 7.x-1.x branch instead.
I highly recommend you use another module instead since the form support in Colorbox never worked very well.
Comment #2
Angrim CreditAttribution: Angrim commentedThanks for your Answer frjo, but I know it and I have used Modal Forms before i install the update to 7.x-2.3. It doesn't work since the update.
That is the Problem.
Comment #3
frjo CreditAttribution: frjo commentedOn my local test sites there are no conflicts between the latest Modals forms module and the latest Colorbox module. I develop them in the same environment so I would be the first to notice any problems.
Can you give me a link to the site where you have this problem?
Comment #4
Angrim CreditAttribution: Angrim commentedThe adress of the website is www.motley-crew.de.
These modules are in use on my site, which maybe involved in this problem.
chaos tool suite (ctools) 7.x-1.2
Colorbox 7.x-2.3
jQuery plugins 7.x-1.0
jQuery Update 7.x-2.3
Libraries API 7.x-2.0
Modal forms (with ctools) 7.x-1.2
Let me know if you need more information.
Thank you for your help.
Angrim
Comment #5
frjo CreditAttribution: frjo commentedIt looks like a conflict with jQuery 1.8. It can be a conflict with ctools or with Modal forms directly. Modal forms has itself very little JavaScript so my guess is ctools.
I can replicate this in my own test environment. The Colorbox module however seems to have noting to do with it. Disabling it did not make any difference.
Comment #6
J0keR CreditAttribution: J0keR commentedCheck your Core version,i have the same issue before i used the 7.18,update the Drupal core first ,If cannot please check the ajax.js in the misc folder, go to line 161 add the "ajax.ajaxing=false;" in the front.
Comment #7
Shevchuk CreditAttribution: Shevchuk commentedAny news on this?
P.S. Update to jquery_update-7.x-2.x-dev and jquery 1.10 fixed the issue.
Comment #8
Marko B CreditAttribution: Marko B commentedI am having the same problem with jquery 1.8. Modal forms work with 1.7 but stops to work with 1.8. Will try to use 1.10 to see if that helps.
Comment #9
Marko B CreditAttribution: Marko B commentedSwitching to dev version of jquery update helped. Strange thing is that even if I switched to 1.8 version there, modal still worked. Maybe in dev version jquery 1.8 has some better version. Not sure but this helped (dont forget to cache refresh).