SSL Labs ScoreSecurityHeaders.io Score

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× Extension Discussions

Session Keeper modal CSS/JS

More
6 months 1 week ago - 6 months 1 week ago #1248 by jjnxpct
jjnxpct created the topic: Session Keeper modal CSS/JS
Hi! We use Session Keeper on a website that does not use Bootstrap in the template. But the session keeper modals use Bootstrap. I tried the javascript, but that does not seem to work on this site.

So I was wondering what Bootstrap CSS / JS I need to add to specifically make the modal work? Or could I use some custom js/css?
Last Edit: 6 months 1 week ago by jjnxpct.

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago - 6 months 1 week ago #1249 by michael
michael replied the topic: Session Keeper modal CSS/JS
I suppose I could release a new version with a new warning selection to fire a document event. At that point, you could have a custom JS listen for the event and do whatever you wanted. I could make the timer accessible, so your JS could display the timer too.

Would that work for you?
Last Edit: 6 months 1 week ago by michael.

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #1251 by jjnxpct
jjnxpct replied the topic: Session Keeper modal CSS/JS
Yes, I guess that would work. I'm not very skilled in JS but I think I can handle that. An alternative could be to load a modal that you provide the js/css for in the plugin itself? This way the plugin will work (with a modal) for all users, even the ones that do not use bootstrap or who do not have the skills to create their own javascript/css to create the modal.

But the advantage of you're solution is that it's more flexible...

Kind regards,
Jip

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #1252 by michael
michael replied the topic: Session Keeper modal CSS/JS
I can release a reference script with it, and make it work like the old version did.

I'm on it

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #1258 by michael
michael replied the topic: Session Keeper modal CSS/JS
It's not quite ready - but check this out:

The following user(s) said Thank You: jjnxpct

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #1259 by jjnxpct
jjnxpct replied the topic: Session Keeper modal CSS/JS
Excellent! I think I can work with that. I am in the middle of a javascript fundamentals online course so I think I will be alright.

I did not realize the modal was changed to bootstrap in this plugin a while back. I think I need to check all our sites to see how session keeper is doing there. And maybe fix it with this new JS version.

We also use language string for the translation. Will the translations be visible in the JS triggered popup?

Great work. Hope to be able to test / implement this soon.

Kind regards,
Jip

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum