GetSimple Support Forum
QUESTION Can I integrate an interaction? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: QUESTION Can I integrate an interaction? (/showthread.php?tid=10593)



Can I integrate an interaction? - harley-peter - 2018-09-19

Hello,
I need an user interaction on my site e. g. the user has to confirm with a button that he has read and downloaded a document before he can continue to read the site.
Is there a possibility to integrate this in GetSimple CMS?


RE: Can I integrate an interaction? - datiswous - 2018-09-20

You might be able to do this with the cookie plugin: http://get-simple.info/extend/plugin/cookies-plugin/742/
This might be a problem if you already use this plugin for Cookies


RE: Can I integrate an interaction? - harley-peter - 2018-09-23

The cookie plugin does not work for my need because it does not matter if I accept the cookie info or not. I can continue to navigate in the site nevertheless.
On my site it is necessary to blockate a link till the user has confirmed the message.


RE: Can I integrate an interaction? - Bigin - 2018-09-24

If there is no security requirements, you can use a simple JavaScript modal to achieve this: https://codepen.io/anon/pen/Mqdgwj
Remember to include jQuery: https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js

Alternatively, you can use ImForms and save this as Form Data value: https://gist.githubusercontent.com/bigin/5188b8fc8eadf88a9263814c4dd6f0a1/raw/8f72c8a26d1b993f8f404a395d5a0053e509f2de/confirm