Needs review
Project:
Modal Frame Contrib Package
Version:
6.x-1.x-dev
Component:
modalframe_register.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Aug 2010 at 20:47 UTC
Updated:
12 Oct 2011 at 07:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
jghyde commentedI think that you can hide that div with a JQuery toggle on the "Forgot Password." Click on the "Forgot Password" link and the div appears. Would that solve this?
I am starting to have reservations about the tabs on the user/login page, which I find as confusing.
Joe
Comment #2
locomo commentedYeah - I think that would work. Would it be weird if clicking "Forgot Password" also collapsed the login form at the same time (and vice versa). I have some very basic users and if they see form fields might just start filling everything out :)
thanks Joe.
Comment #3
jghyde commentedThis fixes the problem of the forgot passwd submit not closing the modal frame:
Comment #4
locomo commentedcool.. i can confirm that this works
however the message:
drupal_set_message(t('Your password instructions were emailed to your registered email address.'));isn't being displayed for me - i think probably because I have Boost installed and am showing cached pages. Do you know if you can make this module more compatible with Boost? I think adding "nocache=1" will skip the boost cache so the message will be displayed
also.. this technically wasn't the issue that was posed here though its a very useful fix
as a temporary workaround to the original issue i've modified your module to put the "Forgot password" form in a collapsed fieldset
is there a better way to embed the javascript than the way i did it (hardcoded) ?
Comment #5
jghyde commentedHere is a patch that includes #3 above. Please review and see if we can commit this to the next rev.
joe
Comment #6
locomo commentedi think we posted at exactly the same time :)
see my comments above your patch
Comment #7
jghyde commented#4 is a separate feature request. Moving it to it's own thread. Thanks for the contrib. I'll integrate this into a patch this week hopefully.
Here's the feature request for collapsed forgot password form: http://drupal.org/node/873894
joe
Comment #8
jghyde commentedComment #9
locomo commentedgreat - thanks!
Comment #10
jghyde commentedI have made extensive modifications to the functionality of this module. It's all for the better.
This patch includes the "No Page Reload" fix in #871976: Page reloads when modal window is closed without logging in/registering.
Also included:
1. More robust messaging in the Status Messages after closing the modal dialog
2. A return page that works, for inside the modal frame after the user submits the User Registration form (you can add the FB Connect thing here, for example)
3. Forgot password is in a collapsed DIV, using default Drupal behaviors
4. A README.txt file with some instructions on how to theme the output of the module.
This patch is made against the HEAD version. Please review and let me know if there are any more bugs related to this issue.
Thanks!
Joe Hyde
http://www.hydeinteractive.com/
Comment #11
stennie commentedJoe's changes in #10 make the module usable imho (particularly having some documentation, but also better functionality).
Would be great to see them included in a proper "anniversary" release (it's been just over a year!).
Cheers,
Stephen