O'Reilly logo

PrestaShop 1.3 ThemingBeginner’s Guide by Hayati Hashim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — Adding a horizontal menu

The original discussion about this can be viewed at http://www.PrestaShop.com/forums/viewthread/17546

Time for action — Adding a horizontal menu

The block highlighted by red outline in the preceding screenshot is what we want to achieve in our next task.

  1. Download the module from the link and save it to your hard disk.
  2. Upload the zip file to your /prestashop/modules directory in your server and extract the content.
  3. You will need to edit two files, as it is important for hook activation. The first file header.php, can be found in the modules directory.
  4. Open your header.php file and edit the following:
    $smarty->assign(array( 'HOOK_HEADER' => Module::hookExec('header'), ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required