Page 1 of 1

frontend users, custom content forgot password/login links

Posted: Sun Apr 20, 2008 11:20 pm
by marksimo
Hey everyone,

I've set up the frontend users module and the custom content module. I've set up a "restricted page" template for all member-specific pages, wherein only logged in users can see the page content. Users who are not logged in, but who go to this page see the login fields:

Code: Select all

{if $ccuser->loggedin() && $ccuser->memberof('member')}	
   {content}
{else}
   <h3>Please login to view this page</h3><br />
   {cms_module module=FrontEndUsers}
 {/if}

This works great, but the only problem is that the "forgot password" and "forgot your login details" links are generated within the {content} so when the links are clicked on, nothing happens. My programming skills are lacking, does anyone know how to get around this problem?

thanks

Re: frontend users, custom content forgot password/login links

Posted: Mon Apr 21, 2008 1:51 am
by jmcgin51
In the FEU Admin, you have to specify what page is used for the Forgot Password and Change Settings link targets.  Then you put the appropriate form on each page.  At least that's how I do it...