- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 28.06.22, 11:39
- Opened by: Constantinos Gardas
- 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
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?
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?
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
Done!
Thank you!
I also need the popup module name
Age Verification (folder name ets_ageverification)
Please try to reinstall it, as I can see it’s not hooked into it’s own hook displayHeader
I did the installation again and I cant find it under displayHeader hook and it is not available manually to transplant the module there
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
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!
Great! You are welcome