Jump to content

Issue in transplant a module exception - case module front controller


SRUTHI R BABU

Recommended Posts

I am working on a PrestaShop 8 website with theme customization. As part of the customization, I moved the footerBefore hook into a div near the footer block. The Newsletter Subscription module is connected to this hook.

I want to hide the newsletter block on certain pages. I successfully removed it from CMS, Contact, and My Account pages by adding exceptions to the module in the footerBefore hook. However, I am unable to remove it from the GDPR page (from the GDPR module) and the Wishlist page.

Essentially, I want to stop the newsletter block from displaying on pages loaded by controllers from other modules.

Is there something specific I need to enable to achieve this, or is it not possible? While I could use CSS to hide the block, I would like to understand why adding exceptions isn't working.

I've attached a screenshot for clarity.

image.thumb.png.8420c95a0b62f75ae5835769fef2ddc1.png

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...