Hi, i use PopupPro module for an age confirmation dialog box, if the user hit Yes he enter, if hit No he is redirected to Google. The dialog works but, if the user hit No and then go back to my site, the popup will not appear again. Is it possible to set the cookie only if Yes is pressed? Thanks in advance and Merry Christmas.
Hello,
Yes - it is possible!
Your popup requires some reconfiguration.
Firstly - please enable option "hide only after close":
This option - when active - will close and hide popup only if it will be closed with special button (in your case "yes" button). Thanks to this popup will appear again for everyone that will not "accept" popup with your "yes" button.
Secondly - please verify the way of how you created buttons.
- "yes" button
must be created with special code:onclick="hideThisPopup();"
it will init "accept" process and hide the popup. The code of "yes" button should be like:<div class="button" onclick="hideThisPopup();">Yes</div>
- "no" button
must be without special code:onclick="hideThisPopup();"
, so the code should be like:<div class="button" href="https://google.com">No</div>
if you need some additional explanations or help related to module configuration - feel free to write :)
best regards
milos
0 comments:
Post a Comment