Jump to content

[SOLVED] Header user info Nav menu - how to modify it?


rv01

Recommended Posts

You're probably talking about displayNav hook. You can menage him from backoffice -> modules -> position.
Some modules may not have implemented hookDisplayNav function (then you won't be able to use this module in this hook), then you need to modify file.

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

Here you have in default instalation of PS 1.6 (screened from back office demo from PS homepage).
 

And this hook is used in header.tpl

<nav>{hook h="displayNav"}</nav>

If you dont have it in default instalation, then it will be hard to help you, because I dont know which files did you edited.

post-725307-0-19483700-1397650369_thumb.png

Link to comment
Share on other sites

I use / test a "one click upgrade" version from 1.4.7. to the latest release.

And I do not have this displayNav in Modules/Positions list.

 

Anyone have an idea on how to get it back in the list?

 

I checked the French forum and other people have exactly the same problem...

unfortunately no answer yet.

:(

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

Yes I tried that before, no success.

I can add some code if you tell me which one and where, thanks.

 

See image, these are the hooks in displayNav but only "language" and "connect" do appear.

post-78349-0-06984000-1397740983_thumb.jpeg

post-78349-0-51520600-1397741011_thumb.jpeg

Link to comment
Share on other sites

I also did not have DisplayNav in positions after update to 1.6. I changed column `position` from 0 to 1 in table ps_hook and now is visible in list.

 

query: UPDATE `ps_hook` SET `position` = '1' WHERE `name` = 'displayNav' LIMIT 1;
Link to comment
Share on other sites

hello

can you show contents of module tpl file located in your theme directory (modules subdirectory)

+ make sure that module hasn't got exeptions. click on edit icon near contact us module and check exceptions field

Link to comment
Share on other sites

hello

can you show contents of module tpl file located in your theme directory (modules subdirectory)

+ make sure that module hasn't got exeptions. click on edit icon near contact us module and check exceptions field

Many Thanks Vekia, that was it, now I have "contactez-nous" :)

Link to comment
Share on other sites

×
×
  • Create New...