Jump to content

Move User Info Block Module From "dislaynav" Hook To "displaytop" Hook


Recommended Posts

Hello :-)

 

I'm using default theme in Prestashop 1.6.1.4

 

Is there a way to move the "User Info Block" module (User loging/logout) from "DisplayNav" hook to "DisplayTop" hook just above the main menu and between Quick search and Cart block.

 

The module is actually already hooked in this position but for some reason it doesn't show even after I unhooked it from its initial position which is the "DisplayNav" hook !

 

Not sure this being a bug, I have been trying and trying again, no way :-(

 

Thanks for helping

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

I think this is because hookDisplayNav is displaying nav.tpl file, and hookDispalyTop is displaying blockuserinfo.tpl

 

You supposed to copy code from one file to another, and make some css change to see it correctly, because text color is white like background in standard theme look.

Link to comment
Share on other sites

  • 2 weeks later...

Thank you, PrestaShop Fanatic  :) 
 
Also found this (thank you vekia for contribution):
 
https://www.prestashop.com/forums/topic/333340-solvedmove-usersblock-above-cart/

 

Once unhooked > hooked:

 

try to remove this file:
/themes/default-bootstrap/modules/blockuserinfo/blockuserinfo.tpl


that's right
if i were you i will copy contents from nav.tpl and paste it to blockuserinfo.tpl :-)

Edited by Malemi (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...