Hello!
I need to create standalone password recovery form, as I did with both login form (via standard exp tags) and registration form. In my case, the registration form looks like this and it’s working:
<?php
$this->EE = & get_instance();
$action_id = $this->EE->functions->fetch_action_id('Member', 'register_member');
$site_id = $this->EE->config->item('site_id');
?>
<form id="member_register_form" method="post" action="{site_url}">
<input type="hidden" name="XID" value="{XID_HASH}" />
<input type="hidden" name="ACT" value="<?php echo $action_id; ?>" />
<input type="hidden" name="RET" value="template_group/template" />
<input type="hidden" name="site_id" value="<?php echo $site_id; ?>" />
<div id="registration_container">
{embed="data_fields/username_field"}
{embed="data_fields/email_field"}
{embed="data_fields/registration_password_field"}
{embed="data_fields/conrifm_password_field"}
</div>
</form>
Unfortunately I can’t find similar solution for “forgot_password” - not external link, but code that might be used in my custom menu.
Regards!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.