Mistermeow Posted September 25, 2018 Share Posted September 25, 2018 (edited) Bonjour ! J'aimerais pouvoir changer le nav du lien "my account" pour qu'il passe de "ouvrir un compte" à "mon compte" une fois connecter ! La manip fonctionne pour le lien "se connecter" "se déconnecter" mais je n'y arrive pas pour my account .. Site en question : PORTEMETAL.COM Dans > modules > blockuserinfo > nav ma modif sans succès: {if $logged} <div class="header_user_info"> <a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a> {else} <a class="login" href="{$link->getPageLink('my-account', true)|escape:'html'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}">{l s='Sign in' mod='blockuserinfo'}</a> </div> {/if} <div class="header_user_info"> {if $logged} <a class="logout" href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}" rel="nofollow" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Sign out' mod='blockuserinfo'}</a> {else} <a class="login" href="{$link->getPageLink('my-account', true)|escape:'html'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}">{l s='Sign in' mod='blockuserinfo'}</a> {/if} </div> <!-- /Block user information module NAV --> Edited September 25, 2018 by Clementcapo (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted September 25, 2018 Share Posted September 25, 2018 Peut-être le mettre au bon endroit^^ <div class="header_user_info"> {if $logged} <a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='View my customer account' mod='blockuserinfo'}" class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a> {else} <a class="login" href="{$link->getPageLink('my-account', true)|escape:'html'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}">{l s='Sign in' mod='blockuserinfo'}</a> {/if} </div> Link to comment Share on other sites More sharing options...
Mistermeow Posted September 26, 2018 Author Share Posted September 26, 2018 Hello ! C'est top merci beaucoup ! Cordialement Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now