Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
I am able to combine the member registration form with authentication, but the next problem comes, how about the lose password part? how can I integrate the reset link in it?

Any chance I can get a full sample version of member module that sending using smtp authentication?
Hi,

You need to the following portions of code in lost-password template -
Code: Select all
<cms:member_process_reset_password 
    send_mail='0'
/>

<cms:if k_success >

     <!-- send the email here -->
     ...   
     
     <cms:set_flash name='success_msg' value='2' />
     <cms:redirect k_page_link />         
<cms:else />
    <cms:show k_error />
</cms:if>

Code: Select all
<cms:member_process_forgot_password_form 
    send_mail='0'
/>
                   
<cms:if k_success>

     <!-- send the email here -->
     ...
     
     
    <cms:set_flash name='success_msg' value='1' />
    <cms:redirect k_page_link />
</cms:if>

Hope it helps.
2 posts Page 1 of 1