Lost password link does not work FEU module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jdewit
New Member
New Member
Posts: 2
Joined: Wed Sep 17, 2008 5:03 pm

Lost password link does not work FEU module

Post by jdewit »

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?
Trawis
Forum Members
Forum Members
Posts: 22
Joined: Sat Jul 05, 2008 7:30 am

Re: Lost password link does not work FEU module

Post by Trawis »

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)

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);
2. then I have put this code to my template:

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...
alby

Re: Lost password link does not work FEU module

Post by alby »

Trawis wrote: I've had the same problem and when I haven't found a solution here in the forum, I've tried this:
Try again with latest version

Alby
Post Reply

Return to “Modules/Add-Ons”