• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23482 - Having trouble using other popup module

Hi,

I have disabled the build in popup module and I am trying to use other popup modules for age verification but every popup module I have tested, doesnt work. Does it have to do with the disable of the pk_popup?

Comments

Fred 28 Jun 2022, 19:07

I assume your modules uses “displayFooter” hook to display a content.
The more proper way is to use hook “displayBeforeBodyClosingTag”. Please check out is it possible to hook your modules into that hook?

Constantinos Gardas 29 Jun 2022, 08:00

Thats correct, the module is using displayHeader and displayFooter hooks. This is the module https://prestahero.com/prestashop-modules/192-free-prestashop-age-verification-module.html

I have transplanted the module in the displayBeforeBodyClosingTag hook but it doesnt work. Do I have to alter the code of the module?

Fred 29 Jun 2022, 10:15

Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your FTP Server I’ll try to make it work

Constantinos Gardas 29 Jun 2022, 10:26

Done!

Thank you!

Fred 29 Jun 2022, 10:44

I also need the popup module name

Constantinos Gardas 29 Jun 2022, 10:57

Age Verification (folder name ets_ageverification)

Fred 29 Jun 2022, 11:44

Please try to reinstall it, as I can see it’s not hooked into it’s own hook displayHeader

Constantinos Gardas 29 Jun 2022, 12:23

I did the installation again and I cant find it under displayHeader hook and it is not available manually to transplant the module there

Fred 02 Jul 2022, 10:19

I suppose you have to ask module developer to help. The problem is that module does not add it’s own scripts to the theme

Constantinos Gardas 02 Jul 2022, 11:13

Everyrhing is ok now, thank you for your support! The problem was in the database after the migration from local to live. I hooked the popup plugin in the ‘displayBeforyBodyClosingTag’ and works!

Fred 02 Jul 2022, 11:30

Great! You are welcome