contact@lorketlenain Posted June 22, 2016 Share Posted June 22, 2016 Hi, I want to move my block information user, just before block cart. Actually my block information user is on the nav bar header. My prestashop version is 1.6.1.5 Now : What i want to do : Can anymone help me please ? Thanks. Link to comment Share on other sites More sharing options...
NemoPS Posted June 22, 2016 Share Posted June 22, 2016 Try going to modules, positions, transplant a new module. Select user information block, then the hook displayTop. See if it helps. If it does, remove it from displayNav Link to comment Share on other sites More sharing options...
contact@lorketlenain Posted June 22, 2016 Author Share Posted June 22, 2016 Thanks for you're help. I try you're solution, but when i hook my information block to displayTop, nothing is happening. I see no change on my shop. Link to comment Share on other sites More sharing options...
NemoPS Posted June 24, 2016 Share Posted June 24, 2016 Try clearing cache. If nothing still happens, you will have to check the corresponding tpl file (blockuserinfo.tpl in the theme folder I guess) Link to comment Share on other sites More sharing options...
contact@lorketlenain Posted June 25, 2016 Author Share Posted June 25, 2016 Even if i clear my cache, when i look source code of my website after hooked to displayTop i don't see the div : <!-- Block user information module NAV --> <div class="header_user_info"> <a href="http://lorketlenain.re/boutique/mon-compte" title="Voir mon compte client" class="account" rel="nofollow"><span>John DOE</span></a> </div> <div class="header_user_info"> <a class="logout" href="http://lorketlenain.re/boutique/?mylogout=" rel="nofollow" title="Me déconnecter"> Déconnexion </a> </div> <!-- /Block usmodule NAV --> Did you know if i need to change something else after hooked to displayTop ? Regards Link to comment Share on other sites More sharing options...
NemoPS Posted June 25, 2016 Share Posted June 25, 2016 I guess you copied that into blockuserinfo.tpl?That's the code laying in nav.tpl I thinkIf you did, try clearing cache too Link to comment Share on other sites More sharing options...
contact@lorketlenain Posted June 25, 2016 Author Share Posted June 25, 2016 That's the first thing I did. I copied the contents of nav.tpl in blockuserinfo.tpl. Link to comment Share on other sites More sharing options...
contact@lorketlenain Posted June 25, 2016 Author Share Posted June 25, 2016 When you spoke cache I thought it was the browser cache. I disable my website cache like this : - Navigate to Advanced Parameters > Performance. - Disable Cache and save changes. Link to comment Share on other sites More sharing options...
NemoPS Posted June 27, 2016 Share Posted June 27, 2016 Actually there is a button to clear cache there, you must use it or set the radio to force compile 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