Page 1 of 1

How to redirect to my home page from forget password in the FEU

Posted: Mon Oct 22, 2007 11:16 pm
by holy_knight
When user ends process of forget password (sending mail to user, then going to site, then user must enter his new password) he goes on login page with form with username and password. I wish to make that user goes on home page or some other page on the site because I put login form in  header of the site.

I found these code in the FronEndUsers.module.php.

Code: Select all

    // and display a nice warm fuzzy message
    // todo
    $this->myRedirect( $id, 'default', $returnid );
    break;
but after many tries to replace this code I didn't success. If someone have done that or knows how to do that pls help.

Re: How to redirect to my home page from forget password in the FEU

Posted: Tue Oct 23, 2007 8:46 pm
by holy_knight
I think that I am solve the problem. In file FrontEndUsers.module.php

replace

Code: Select all

$this->myRedirect( $id, 'default', $returnid );
with

Code: Select all

$this->RedirectContent( $returnid );