Jump to content

[SOLVED] Customer's name and logout doesn't show up


Recommended Posts

Hi,

 

When I login, the customer's name doesn't show up nor the logout text.

Instead, the login text remains after the "Welcome", that is : "Welcome, (login)", and there's no way to logout.

 

I think something's missed in some .tpl archive, but I cannot figure it out.

 

Any help would be really welcome. Thanks,

 

Angela

  • Like 1
Link to comment
Share on other sites

Well, I've found there was some code missing in blockuserinfo.tpl, I don't know why...

 

Part of this code:

 

<li id="header_user_info">

{l s='Welcome' mod='blockuserinfo'},

{if $logged}

<span>{$customerName}</span> (<a href="{$base_dir}index.php?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)

{else}

<a href="{$base_dir_ssl}my-account.php">{l s='Log in' mod='blockuserinfo'}</a>

{/if}

 

</li>

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...