Page 1 of 1
'cancel' button doesn't work on FrontEndUsers reset password form
Posted: Sat Dec 09, 2006 6:33 am
by jmcgin51
the first time you click it, it returns "User ID not found". Subsequent clicks do nothing. What is the correct behavior?
CMSMS 1.0.2 Maui
FEU 1.1.1
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
Posted: Mon Dec 11, 2006 4:12 am
by jmcgin51
bump
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
Posted: Mon Dec 11, 2006 5:48 pm
by jmcgin51
Where is the "Cancel" button function in the code, and how do I need to change it so that it simply redirects to the homepage, previous page, etc? I would presume that's what it's supposed to do anyway?
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
Posted: Tue Dec 12, 2006 6:27 pm
by jmcgin51
Calguy? anyone?
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
Posted: Wed Dec 13, 2006 2:49 pm
by jmcgin51
After loading the latest SVN code, the Cancel button now simply reloads the page instead of giving an error. This is an improvement, but I'd like to redirect to the login page... That makes more sense to me than simply reloading the Forgot Password page. If it were a "Reset" button, then reloading the same page would make sense...
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
Posted: Wed Dec 13, 2006 3:09 pm
by calguy1000
I spent three hours testing all of this stuff yesterday, and then quickly re-tested again today..... Cancel on both the 'forgot password', and the 'change settings' pages worked fine for me. Expired users say that they're expired properly, but non expired users can login with no difficulty.
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
Posted: Wed Dec 13, 2006 4:17 pm
by jmcgin51
I believe you, Calguy, I just don't understand why it doesn't work the same way for me with the same code. I have the user expiration issues working now as described earlier, with older API and newer Module files.
I noticed when I click the Cancel button, the first thing in my status bar is root/cms/index.php, but then it changes to root/cms/index.php?page=reset_password (or ?page=edit_profile, depending on which page I'm on when I click the Cancel button). So it looks like it's trying to go to the homepage, but ends up redirecting to the current page, which is weird.
What is the expected behavior for Cancel? Is it supposed to go to the homepage or to the referring page?
Anyway, I guess I'll have to live with it, since you can't reproduce it and I don't know enough code to fix it myself... It's not a make-or-break issue, but an annoyance.
Thanks for your help.