Jump to content

Module on only one cms page


MatejL

Recommended Posts

Hello,

 

first sorry for my english. :) I have one question. I have one module: for example Newsletter. I want to show this module on only one cms page (example About us) on display left column hook. I don't want this module on first page or any other. 

 

Is this possible?

 

I hope you understand me what i want to say. :)

 

Thank you!

Link to comment
Share on other sites

The first thing to do would be to go to Modules -> Positions and there find the leftColumn hook, this module, clik Edit and add exceptions to prevent this module from showing anywhere besides the CMS section of the shop.

 

And if you would like to limit it to only one cms page, that would require some changes in the module's template file, to check the current page Id and show nothing if it is different from your About us page Id.

Link to comment
Share on other sites

And if you would like to limit it to only one cms page, that would require some changes in the module's template file, to check the current page Id and show nothing if it is different from your About us page Id.

 

And how to do this? Can you please tell me? I have Prestashop 1.6.1.9.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...