Lightbox2 wont show login form for in a modal box
gallamine - October 16, 2009 - 03:30
| Project: | Lightbox2 |
| Version: | 6.x-1.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
For some reason Lightbox2 won't show my user login form in a lightbox.
I've checked "Enable login support" under the Modal Form settings. I've created several links, like "user" and "user/login" and "user/login/lightbox2/lightbox2" but none seem to work. They all go to the regular login form. I've confirmed that Lightbox2 DOES work, because I also checked "Enable contact form support" and on the same pages that the login links don't work, the "contact" link does work fine - e.g. they show up in a modal box.
I've tried his with and without Logintoboggan installed, thinking maybe that was the problem, but with the same result. Suggestions are appreciated. Thanks.

#1
same here, not working and I don't have logintoboggan installed
edit:
got it working with the following link:
<a rel="lightmodal" href="user/login/lightbox2">login</a>#2
Lightbox will only trigger on login links like 'user/login' and only if the option is enabled on admin/settings/lightbox2. It shouldn't be necessary to set the rel attribute as shown in comment #1. Perhaps check your page specific settings on admin/settings/lightbox2 - if you've disabled lightbox functionality for the pages containing the link, then the lightbox login functionality won't work.
You may also want to try the dev version.
#3
I switched to the latest dev release. I have "Enable login support" checked.
I have load only on listed pages checked w/ the following:
on page "home_default" I have link to "user/login", and it doen't work. I have to add 'rel="lightmodal"' for it to open in a lightbox, and I have to link to "user/login/lightbox2" for it to open just the form, not the whole page.
#4
Just updating the status to active.