Suryakamesh Posted September 12, 2015 Share Posted September 12, 2015 (edited) Hi,I'd like to display as a drop down list when a logged in user hovers above his name in the headerie. Welcome John Doe. Hovering on John Doe should display all the account links.How do I do this?Thanks Edited September 12, 2015 by Suryakamesh (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted September 12, 2015 Share Posted September 12, 2015 Hook the blockmyaccount module to displayNav. Have it hidden by default, assign absolute positioning right below that name. Then use some javascript for the hover state on the name, showing the block itself Link to comment Share on other sites More sharing options...
Suryakamesh Posted September 12, 2015 Author Share Posted September 12, 2015 I cant hook myaccount to displaynav. Because its not showing when i try to transplant myaccount module to displaynav. only displayleft, displayright are available Link to comment Share on other sites More sharing options...
NemoPS Posted September 14, 2015 Share Posted September 14, 2015 Like you get an error or is it simply not displaying? In the latter case it might be a simple css issue, or an empty templateIf you get the non-transplantable error, you can simply clone an available method and rename it to hookDisplayNav Link to comment Share on other sites More sharing options...
nickosn Posted November 29, 2016 Share Posted November 29, 2016 Like you get an error or is it simply not displaying? In the latter case it might be a simple css issue, or an empty template If you get the non-transplantable error, you can simply clone an available method and rename it to hookDisplayNav Hi Nemo! Could you please help on the hover part? ATM I have to click to open the submenu Kind Regards Link to comment Share on other sites More sharing options...
NemoPS Posted November 30, 2016 Share Posted November 30, 2016 inspect with firefor and see where the click is triggered from, then change it to a .hoverI cover this debug operation in my new themes crash course too Link to comment Share on other sites More sharing options...
Aumanz Posted August 17, 2017 Share Posted August 17, 2017 Hi, im interested on this feature also, but i found fast and easy solution, here http://premiumpresta.com/blog/how-to-create-a-my-account-drop-down-link-list-for-prestashop-v1-6/ Hope helps someone also. Regards. 1 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