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
'cancel' button doesn't work on FrontEndUsers reset password form
'cancel' button doesn't work on FrontEndUsers reset password form
Last edited by jmcgin51 on Sat Dec 09, 2006 6:35 am, edited 1 time in total.
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
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
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...
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: 'cancel' button doesn't work on FrontEndUsers reset password form
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.
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.

