Talal Abderrazzak Posted October 13, 2015 Share Posted October 13, 2015 Bonjour, Je souhaite créer un lien, j'ai trouvé l'emplacement du fichier et j'ai ajouté le nouveau lien malheureusement çe ne s'applique pas <!-- Block user information module NAV --> {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> </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='change this bitch' mod='blockuserinfo'}">{l s='Sign out' mod='blockuserinfo'}</a> <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='Compte utilisateur' mod='blockuserinfo'}</a> {/if} </div> <!-- /Block user information module NAV --> Merci de me montrer de quoi il s'agit Link to comment Share on other sites More sharing options...
coeos.pro Posted October 13, 2015 Share Posted October 13, 2015 1- as tu vidé les caches smarty ? 2- "ça ne s'applique pas "... mais encore ? il ne s'affiche pas ? c'est un mauvais lien ? 3- dans ton code tu as 4 liens, c'est lequel le nouveau ? Link to comment Share on other sites More sharing options...
Talal Abderrazzak Posted October 13, 2015 Author Share Posted October 13, 2015 Le lien en question <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='Compte utilisateur' mod='blockuserinfo'}</a> ça ne s'affiche pas en fait. Comment faire pour vider les caches smarty? Link to comment Share on other sites More sharing options...
coeos.pro Posted October 13, 2015 Share Posted October 13, 2015 paramètres avancés > performances mettez non pour le cache smarty et en haut à droite cliquez sur "vider le cache" Link to comment Share on other sites More sharing options...
Talal Abderrazzak Posted October 13, 2015 Author Share Posted October 13, 2015 C'est fait mais ça ne marche toujours pas Link to comment Share on other sites More sharing options...
Talal Abderrazzak Posted October 13, 2015 Author Share Posted October 13, 2015 Le code ci dessus est appelé dans la fonction header.tpl par {hook h="displayNav"} 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