Jump to content

How to activate a Prestashop Module on different pages on Frontend.


Recommended Posts

I just activate a module and place it on hookDisplayHome hook and it only displayed at home page not other pages.

 

But I want to display the module other pages like About Us and Contact Page and so on..

 

So what to do next?

Link to comment
Share on other sites

All modules are displayed in the hook that are hooked, displayHome like name say, is displayed only in the homepage, if you want to show on About Us or Contact Us, you need hook your module to displayTop, displayFooter or in displayHeader and use the option to show only in the pages you want to display as ZikmaSolutions say, also there is other options by code.

Link to comment
Share on other sites

And I want to place the module on a specific page content area..

 

So what to do?[/size]

Is not easy, as said before, you can display X information every time that prestashop include a hook in that place or in that page, otherwise you will need to modify some tpl files and some times also php files.

 

Check this about the hooks: http://doc.prestashop.com/display/PS15/Hooks+in+PrestaShop+1.5

Link to comment
Share on other sites

×
×
  • Create New...