Coockies / subscribe

2 replies · opened Oct 27, 2020

JJcdeWeverOct 27, 2020

Hello,

I have 2 questions regarding the coockie pupup modal and the subscribe popup.

Is it possible to set a time to the coockies, when agreed so that when the user returns to the site it doesnt show again, lets say till he cleans his cashe.

Is it possible to set the subscribe popup to not show anymore after the user has subscribed?

Ill await you're answer with patience.

SSemicolon WebSTAFFOct 28, 2020

Hello,

  1. Simply find the following code in the js/plugins.lightbox.js File:
    [ch_pre type="js"]Cookies.set( elTargetValue, '0' );[/ch_pre]

and replace it with:
[ch_pre type="js"]Cookies.set( elTargetValue, '0', { expires: 365 } );[/ch_pre]

365 is in Days. If you are using the js/plugins.js or the js/plugins.min.js File, you will need to Update the above codes in these Files as well.

  1. Unfortunately, this is not supported out of the box and you will need to make further customizations manually according to your needs.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

JJcdeWeverOct 29, 2020

Thank you very much for the quick reply / help!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard