Hi Im using Joomla! and have the login widget for amember in the sidebar, but this does not come with a forgot password, can I get this in there too? Whats the best way? Im using Jumi to add in the php. Thanks Dan
No amember 4, I mean this below: <?php include "../amember/library/Am/Lite.php"; echo Am_Lite::getInstance()->renderLoginForm(); ?> It shows the login, is there anyway to show the forgot password box too?
Edit /amember/library/Am/Lite.php and change this function: PHP: public function renderLoginForm($redirect = null) { return '<form method="POST" action="' . $this->getLoginURL($redirect) . '">' . '<label for="form-amember_login">E-Mail Address or Username</label>' . '<input type="text" name="amember_login" id="form-amember_login" />' . '<label for="form-amember_pass">Password</label>' . '<input type="password" name="amember_pass" id="form-amember_pass" />' . '<input type="submit" value="Login" />' . '</form>'; } The simplest way is to just add forget password link which will point to /amember/member