Jump to content

"nav.tpl" File Of Blockuserinfo Module In Ps 1.6 Does Not Catch New Words Added (Multilanguage)


Recommended Posts

I want to configure the nav.tpl file of blockuserinfo module. I am using the default-bootstrap theme of PS 1.6 with 4 languages. That file render on the topmenu.

 

I overload the file nav.tpl on the folder (themes/default-bootstrap/modules/blockuserinfo).

 

I put this code in the nav.tpl:

{if $is_logged}
	<div class="header_user_info">
		<a href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>{l s='Your Account' mod='blockuserinfo'} ({$cookie->customer_firstname} {$cookie->customer_lastname}) (*NOTA)</span></a>
	</div>
{/if}

 Concretly I added this to show "My account" label in the topmenu.

{l s='Your Account' mod='blockuserinfo'}

When I go the page, I always see "Your account" in all the languages.

Edited by templaries (see edit history)
Link to comment
Share on other sites

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