AddHeader – a sibling for AddStuff

Creative Commons Licence

Sometimes you just want to do something simple, and there doesn’t seem any way of achieving it easily. Then you find something like AddHeader.

This one adds the contents of your specified file into the header of your pages, so you can add or remove code without having to go and edit the template files (and it’s there regardless of which template you’re using too!). Simple.

Version 0.1.0 (Initial Release August 2009) : AddHeader module

Sharing is caring!

Posted on August 4, 2009 | Related Categories: Free Prestashop Modules, Prestashop | 20 comments

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

20 Responses to AddHeader – a sibling for AddStuff

  1. Dennis says:

    Hi, this is something I’ve been looking for long time ago. Is it compatible with PrestaShop 1.4.1?

  2. rob says:

    Are there any examples of this working? Not enough info on this. Will I be able to use it to add a phone number to the right hand side of my site under the search box please?

  3. Ahamed says:

    How to remove this module after trying it. It is not getting removed. The directory itself is not writable. Can you tell how to remove this module please?

    • admin says:

      Some hosting settings mean that directories and files created by the user php is running under are inaccessible. Did you use the module installer from the Back Office? If you copied the files to your server via ftp, then you should be able to remove them the same way.

  4. nname says:

    can you please make a demo?

  5. apark says:

    Please help, how can I fix the position to the right corner of the page? It seems default it is center.

    Thanks in advance.

  6. Sintl says:

    Is there a example where to see its being used. Thnx

  7. Rad says:

    I’m having the trouble with an Image that i placed . It doesn’t show up.
    Help PLease!!!

  8. Tony says:

    I am using add header to add an image as my logo instead of the original prestashop position logo. The html in yourstuff.htm is very simple (see below) but no image shows – can anyone help?

  9. tom says:

    I love the add header and add stuff modules the only problem i am having is with the add header.. In IE it works fine and everything is in its place. When using Firefox or chrome every link, pic or whatever is not in it’s correct place! Can anyone help with this? Please! Thanks.

  10. mimi says:

    David- just go to your modules area in the control panel select the “addheader” module and type in “yourstuff.html” update the save setting and then refresh your store front page and the addheader will be there. You have to then go to the “yourstuff.html” page in the modules folder to add the meta data or what ever else you want to add to the header save upload new edited yourstuff.html page and refresh again and you’ll see the stuff you added to the header.

  11. mimi says:

    Hi, I added the “addheader” module and got it to work just fine. I did notice though that in the IE browser it’s fine but in the firefox browser my stuff is not centered as I want it to be! How can i fix this? and why do you think it’s fine in IE but not Firefox? Any help with this would be a great thank you ahead of time!

  12. David says:

    sorry meant for addstuff

  13. David says:

    I would really like to know how to hook this module to the top of page–can you give an example of how to edit it to make it work–I want to just insert some simple welcome text on my shop–but when I added this module it did not work properly in IE–in firefox no problem but in IE it puts one word on every line…HELP

  14. Ich says:

    How to add multilingual in this module?
    For example, to the slogan switched by changing the language:
    Welcome (en)
    Bonjour (fr)
    That must be added to. php and. tpl files?

  15. Pingback: Ultimate PrestaShop Toolkit – 50+ Resources | Es Developed - Fresh Website and Graphic Design

  16. rob says:


    Have just uploaded the “addstuff” and “addheader” modules – addstuff seems to work perfectly, however the AddHeader module image just flashes up briefly before dissapearing – can anyone help?



    • admin says:

      The AddHeader Module actually inserts your code into the section of the page, so isn’t intended to product any visible output – To insert something in the visible “header” section of the page you can use Addstuff and hook it to “Top of page” – which in Prestashop speak is the visible page header.

      AddHeader is primarily to allow you to insert meta data or scripts into all the pages of your store (to perhaps drive functionality you have inserted into one of your templates for example).

  17. Jane Stoddart says:

    Hi, thanks. Looks useful! Is it compatible with PrestaShop 1.2?
    Cheers, Jane.