Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2008 at 18:45 UTC
Updated:
23 Mar 2012 at 15:09 UTC
Hi Stella
I would love the feature of displaying the login form in a lightbox. But for me it does not work, despite I activated the function on the settings page. Is there something special I have to consider for this functionality?
Thank you
Cheers
Comments
Comment #1
stella commentedIt will only work on
user/loginlinks, like the one that says "Please login or register to post comments". You also need to ensure that lightbox2 functionality is not disabled on those pages. It doesn't work on links which are justhttp://www.example.com/user.If the option is enabled, and user/login links still don't open in a lightbox, then send me a link to your site.
Cheers,
Stella
Comment #2
tobiass commentedThank you.
Thought that the login refers to the
http://www.example.com/userlogin. Just tried it:user/loginworks well. Sorry for that!Cheers
Comment #3
SeanBannister commentedI'm feeling rather blind, I can't see the setting to enable the lightbox login. I'm clicking on the login link currently and it takes me to the login page. Where is the setting to use lightbox?
Comment #4
stella commentedIt's on admin/settings/lightbox2 and is a checkbox labelled "Enable Login Support". If you're using the dev version, then it appears under a collapsed fieldset called "Login Settings". I can't recall where it appears in 5.x-2.8, if it's not visible by default, have you tried looking under the "Advanced Settings" collapsed fieldset.
Cheers,
Stella
Comment #5
SeanBannister commentedWow, there's been a few changes between 2.7 and 2.8 :) helps when you run the right version. Found it.
Comment #6
socialnicheguru commentedHi,
can I use lightbox to show http://mysite.com/user/register page?
If so how?
Thanks,
Chris
Comment #7
stella commentedNot automatically. You could use some js code similar to lightbox2_login.js to modify the link so you can do this however.
Comment #8
raiyne commentedSo in the newest dev version the lightbox_modal.js file look like this:
So in an attempt to create a lightbox login screen on my front page and maybe even a register lightbox, (a login link, which leads to the same login box being called above), am I going to create a new .js file with separate code or add to this one, trying to call in a new href reference?
If it is a separate file, is the .js file going to be references in other files?
I'm afraid I'm stepping into outside boundaries a bit here, so please bear with me...I'll get it.
-Ben
Comment #9
caspercash commentedHi stella! would you mind posting the js code for the registration form here? I'd really appreciate it if there is a bit of support of it just like the login form. Thank you very much!