If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

PrestaShop 1.5.x. How to manage footer and header links

1. Login to your PrestaShop admin panel and navigate to Modules -> Positions

Here you should search for ‘Top of pages’ position and check which module is used to display header links.

That would be TM links block in our case.

2. Connect via FTP to your domain and navigate to /modules/tmpermanentlinks folder. Here you should edit tmpermanentlinks-header.tpl file using any code editor.

The following lines of code:



displays header links.

Each line of code represents one menu element. E.g:

 
  • {l s='sitemap' mod='tmpermanentlinks'}
  • is displaying Sitemap menu element.

    You should remove line of code in case you would like to delete some menu element. Or you should add a new line of code if you would like to add a new link to menu.

    E.g. we will add link to Manufacturers page to header links section. URL to Manufacturers page is http://domain.com/index.php?controller=manufacturer

    You should edit /modules/tmpermanentlinkstmpermanentlinks-header.tpl file using any code editor.

    Search for the following code:

    
    
    

    and add a new line of code

     
  • {l s='Manufacturer' mod='tmpermanentlinks'}
  • right below

     
  • {l s='sitemap' mod='tmpermanentlinks'}
  • Let me explain what the meaning of the code:

    href="{$link->getPageLink('manufacturer')}" we should insert a part of URL to the page. The part which goes right after controller=. That would be manufacturer in our case.

    {if $page_name == 'manufacturer'} class="active"{/if} that part is for active highlighting. We should use the same value there.

    {l s='Manufacturer' mod='tmpermanentlinks'} it is name of the button which is displayed on your site.

    Now we will check which modules used to display links in footer of the site.

    3. Navigate to Modules -> Positions in PrestaShop admin panel and search for Footer position.

    These modules are used to display content for footer links section

    Here you can see which content they are displaying

    4. CMS Block is displaying CMS pages. You can navigate to Modules -> Modules section, search for CMS block, Configure it and select which pages to display on the page.

    Our Stores link is displaying in CMS block if Display in the footer option is enabled under Preferences -> Store Contacts section

    Our offers links should be edited in /themes/themeXXX/modules/blockcms/blockcms.tpl file. Where themeXXX is your theme folder name.

    The following code is displaying Our offers section:

    
    
    

    Each line of code represents one menu element. The syntax is the same as in /modules/tmpermanentlinks/tmpermanentlinks-header.tpl file.

    5. My Account block on footer is displaying My account section. You can enable or disable that block under Modules -> Modules in your PrestaShop admin panel.

    6. Block social is displaying Follow us section. Navigate to Modules -> Modules in your PrestaShop admin panel and search for Block social in list of blocks. Click Configure link to edit it.

    Here you can update links for each social icon.

    7. Block contact infos is displaying Contact us section. You may edit block under Modules -> Modules in your PrestaShop admin panel.

    Click Configure button to edit block.

    There you may update contact info which is displaying in the footer of your site

    Feel free to check the detailed video tutorial below:

    PrestaShop 1.5.x. How to manage footer and header links

    PrestaShop 1.5.x. How to manage footer and header links, 5.0 out of 5 based on 1 rating