Hey I love the lightbox for user/login, but if a user clicks the "create an account" link, is it possible for a new lightbox to pop up with that form? And same for the New Password link.
Thanks in advance!
Hey I love the lightbox for user/login, but if a user clicks the "create an account" link, is it possible for a new lightbox to pop up with that form? And same for the New Password link.
Thanks in advance!
Comments
Comment #1
SunRhythms commentedsame here... would definately like some information on this subject asap...
Comment #2
Louis Bob commentedhello, no news on that subject?
It would be great to have it working!
Comment #3
blessedone commentedLightbox registration / login can be accomplished my modifying fancy_login
enjoy ;) tested and have live working copy ... all is well
tested with
drupal 7.12
fancy login 7.x-1.0-beta2
call the lightbox registration as follows : (note this can be done with any lnk by adding "&_trigger_register=1")
<a href="?q=node&_trigger_register=1">Register</a>replace fancy_login.module with this following code:
replace fancy_login.js with this following code:
add the following to fancy_login.css:
Comment #4
srlawr commentedCould I suggest that perhaps this is submitted as a patch to the module, for future version integration (assuming the owner would like to include the registration functionality (which I think is great!)).
Obviously, copy and pasting a whole new content over the module's files is impossibly unmaintainable... :(
Comment #5
rogical commentedGadness, patch is always the only good way.
Comment #6
jaypanThis is something I'll be adding after I've got a full release for 7.x-2.0.
Comment #7
chris pergantis commentedReally appreciate your getting this attended. Our users love the popup interface as opposed to the core page. I am glad to see you will be making the user's experience consistent across each site that uses this module. Let me know if our group here at ADI can help with testing or other development tasks.
Comment #8
jaypanVersion 7.x-3.0-beta1: I've ajaxified the 'Create new account' and 'Request new password' links in the modal, so that they load these forms into the Fancy Login block rather than redirecting the user to the page.
Please test and give feedback (though I may be a little slow in getting to the feedback, as I'm quite busy right now).
Comment #9
jaypanActually, please open new tickets if there are any issues with version 7.x-3.0 of the module. Thank you.
Comment #11
thomas1977 commentedThanks for this module!
However, it would still be great to have the fancy login (lightbox) working on direct registration url and not just through the login form. Use case:
We have disabled "create user account" on the login form for a number of reasons - hence, user registration is not possible to do through fancy login. Still, we want visitors to be able to register - but only via links placed on a few pages on the site.
Solution:
When a user clicks link ('/user/register') the fancy login lightbox pops up with the registration form instead of the core drupal form.
Possible?
Best,
Thomas
Comment #12
jaypanIt's not currently possible. There are two reasons for this really:
1) The login form is loaded upon login, and hidden using CSS. When the popup is popped up, the login box is shown, rather than loaded. The register form on the other hand is not loaded upon page load, and is only loaded when the 'create account' link is clicked.
2) The plugin is really the 'fancy login' plugin, not 'fancy register' :)
It's something I can maybe consider for a future version, though I'll have to re-think the logic behind the module if I am going to do so.