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.
At the moment if you enter a wrong password it redirects to drupal.org/user and you either have to try again with a password or use the forget password link.
Looking at Netvibes which has a similar login interface, it simply tells the user the password is wrong in the pop up box and provides a link to forgot password without redirecting etc. WOuld anything similar be possible?
Comments
Comment #1
dagomar CreditAttribution: dagomar commentedI would like to know the same.
Comment #2
treksler CreditAttribution: treksler commentedthis would need ajax login right?
so you actually submit the login in the background and check if it came back with failure and display an error
ps
also as soon as you hit enter, the box should switch to a dimmed version with a spinner
and it should display a message that says "validating log in" or "authenticating" or something like that;)
Comment #3
palmergroup CreditAttribution: palmergroup commentedirstudio, did you ever end up solving this? i like your idea.
Comment #4
vegeneric CreditAttribution: vegeneric commentedsubscribe
Comment #5
vegeneric CreditAttribution: vegeneric commentedanyone know if this could be of use here: http://drupal.org/project/ajax_validation ??
it is definitely not an out-of-the-box solution, as it only even claims to work for node forms, and even then it seems to have issues... but someone who speaks javascript might be able to use it as a foundation.
i don't get how the thickbox login module could even be considered for use on a production site given this hole in its functionality.
Comment #6
frjo CreditAttribution: frjo commentedNew features are only added to 6-dev.
Comment #7
frjo CreditAttribution: frjo commentedCould someone test out Thickbox user login with http://drupal.org/project/ajax and come up with a way to integrate them?
Comment #8
v8powerage CreditAttribution: v8powerage commentedI think at the moment only way to have this is to use popups_api (I tested this).
Comment #9
NewZeal CreditAttribution: NewZeal commentedI can confirm that the Ajax module has a module which integrates with Thickbox and makes the very functionality requested happen.
Comment #10
NewZeal CreditAttribution: NewZeal commentedWow, although the Ajax module successfully works with Thickbox, it doesn't work with edit forms. Login and register and add node forms are fine mostly, but with edit forms I found two errors
1: "This content has been modified by another user, changes cannot be saved." While the form saved Ok it wasn't the kind of user experience I wanted.
2: I also found that while the form validated with no problems, when it came to submit I would get an ajax error and everything would lock up. I found this was due to some bad json.
I solved the above two problems as follows:
1: by putting the default created time forward by an hour using form_alter. On submit this value goes to time() anyway so it doesn't matter. it does matter however if you are going to have other people editing the node. In this instance that is not going to be the case.
$form['changed']['#default_value'] = $form['changed']['#default_value'] + 60*60;
2: by adding some code to ajax.js to handle the bad json (parsererror), avoid the alert message and close the window.
During the course of my troubleshooting i abandoned Thickbox in favour of jqModal (http://dev.iceburg.net/jquery/jqModal/) because I thought it might be a problem with Thickbox, but they both behaved the same, but I decided to stay with jqModal.
Comment #11
YK85 CreditAttribution: YK85 commented@New Zeal - I installed ajax module (and enabled the thickbox support) and thickbox module but when the wrong password is entered it still takes the user to an all white page with the username and password fields at the top left.
www.example.com/user/login/thickbox?destination=user%2Flogin%2Fthickbox%3Fheight%3D230%26width%3D250%26random%3D1268444978748
Can anyone assist?
Comment #12
v8powerage CreditAttribution: v8powerage commentedThere's new module for that: http://drupal.org/project/ajax_register.
Comment #13
YK85 CreditAttribution: YK85 commentedIt looks like that module ajax_register provides a block with the links, and doesn't override links on the page to user/login.
I am needing to have the popup show when the user clicks a link to user/login that I have on the page.tpl.php and not in a block.
I would really appreciate it if anyone can help.
Thanks!
Comment #14
v8powerage CreditAttribution: v8powerage commentedU may use popups API module then add to login link class="popups-form-reload".
Comment #15
Bilmar CreditAttribution: Bilmar commented+1 subscribing
With all the modules added with thickbox mentioned above, i am still getting routed to a user/login/thickbox?destination=user%2Flogin%2Fthickbox%3Fheight%3D230%26width%3D250%26random%3D1268444978748 as per comment in #11
Is there any chance of getting this working with thickbox module?
Last resort, I will look into other modules mentioned above, but it would be awesome to see this functionality available in thickbox =)
Thank you very much in advance!