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