frontend users, custom content forgot password/login links
Posted: Sun Apr 20, 2008 11:20 pm
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:
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
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