Move top horizontal menu module to FullWidthNav hook

I have downloaded your Top Horizontal Block Menu... I would like to move the menu to the FullWidthNav hook, however it is not permitting me to add it to this hook? Please advise and if possible. The menu needs to sit below the Website Logo in the classic theme and be the width of the body below.
Your assistance is greatly appreciated.


Hello,
Module cant be transplanted to this hook because it does not support this hook.
If you want to make it work with this hook it will be required to modify the module .php file.
You can find instructions below:
  • open file: modules/blocktopdropdownmenu/blocktopdropdownmenu.php
  • search in file for code: public function hookDisplayTop($param)
    it is located somewhere near 860 line
  • change the line i mentioned to: public function hookFullWidthNav($param)
    and save the file
  • if you are on prestashop 1.7: go to design > positions
    in prestashop 1.6 this section is under modules > positions
  • Use "transplant a module" tool - assign top horizontal menu block module to your FullWidthNav hook

that's alll

best regards
milos
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment