Create unified login/register page
webchick - May 29, 2008 - 19:57
| Project: | LoginToboggan |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
This is a feature jjeff and I wrote for a site we're building that we thought could be useful to the community. Screenshots attached.
The idea is to add an option to LT to present a single page to logged-out users that can both register them AND log them in, using nice JS buttons so that you don't need to re-load the page in between, instead of relying on tabs which (as the UMN usability study saw) people have a hard time seeing.
A side-effect of this patch is you need the "I forgot my password" link on the login form itself (where, arguably, it makes more sense anyway), so a new option's been added for that as well.
Patch comin' right up.
| Attachment | Size |
|---|---|
| lt-unified-login.png | 29.86 KB |
| lt-unified-register.png | 42.35 KB |

#1
Patch.
#2
Oops. How about one *without* all the stuff from #264300: Use checkboxes rather than "Enabled"/"Disabled" radios :D
#3
I created the patch from within the module folder.
webchick: this includes all the changes we've discussed on irc.
#4
I patched the module and enabled this unified page as well as the password link but am still unsure how to access it. Should it be at ../user? All that shows up is the "I forgot my password" link on the login form.
#5
#login-messageinstead of.toboggan-unified #login-message? the id tag already specifies element, so i'm not understanding why it's useful to prepend a class.// TODO: Somehow add a class of "default" to whichever form is the default.should be handled before this is committed.if (Drupal.jsEnabled) {, and the new format isDrupal.behaviors.myBehavior = function (context) {#6
Has any more work been done in this area? I think a unified login/register page would really streamline things for users....
#7
I brought this patch up to date against the 6.1 branch (couldn't figure out what the 6.2 branch was for). This would still be a nice enhancement.