I'm using the following template:
{* start wrapper *}
{ if $ccuser->loggedin() }
{* start logout *}
{cms_module module=FrontEndUsers form="logout"}
{* end logout *}
{* start header *}
{cms_selflink dir="start" text="$sitename"}
{* end header *}
{* start navigation *}
{menu template='simple_navigation.tpl' collapse='1'}
{* end navigation *}
{* start content *}
{print showbutton=true script=true}
{title}
{content}
{* end content *}
{ else }
{* start login *}
{cms_module module=FrontEndUsers form="login"}
{* end login *}
{ /if }
{* end wrapper *}
This works fine but the "lost password/username" links do not work in the login form. It seems to work when the {content} tag is added, but I don't want content on the login page. Anyone?
Lost password link does not work FEU module
Re: Lost password link does not work FEU module
I've had the same problem and when I haven't found a solution here in the forum, I've tried this:
1. I've created user defined tag "promenne" (maybe it doesn't work when pretty urls are off in config.php)
2. then I have put this code to my template:
I hope it is right...
1. I've created user defined tag "promenne" (maybe it doesn't work when pretty urls are off in config.php)
Code: Select all
$adresa=$_SERVER['REQUEST_URI'];
$contentonoff=0;
if (substr_count($adresa, "/feu/forgot/")==1 || substr_count($adresa, "/feu/lostusername/")==1){
$contentonoff=1;
}
$smarty->assign('contentonoff', $contentonoff);
Code: Select all
{if $ccuser->loggedin()}
{content}
{else}
{promenne}
{if $contentonoff==1}
{content}
{else}
{cms_module module=FrontEndUsers form=login}
{/if}
{/if}
I hope it is right...
Re: Lost password link does not work FEU module
Try again with latest versionTrawis wrote: I've had the same problem and when I haven't found a solution here in the forum, I've tried this:
Alby