whatsapp module is not working on our new site
- Posted by Erick Santisteban (10) Offline
Hi, there Have you find out what's going on yet? we really need to get this new site up by tomorrow. i don't know if you got the last post
3 years 11 months ago #7
by Erick Santisteban
The topic has been marked as resolved.
- Posted by TemplatePlazza (5261) Offline
The topic has been marked as resolved.
- Posted by TemplatePlazza (5261) Offline
Hi, I've made some changes to the module. Seems it's working properly now. Can you check it please?
3 years 11 months ago #9
by TemplatePlazza
The topic has been marked as resolved.
- Posted by Erick Santisteban (10) Offline
The topic has been marked as resolved.
- Posted by TemplatePlazza (5261) Offline
It's the 'greeting' parts where strangely doesn't work as it should on your website.
I changed
to
I replaced the 'double quotes' with 'backtick' and it's working. But it won't work in older IE browsers because backtick is the newest way introduced in javascript to write string (IE 11 and below doesn't support it).
One question, do you need your website to support older IE browsers?
3 years 11 months ago #11
by TemplatePlazza
I changed
var morning = ("<h1>'.$g_morning_title.'</h1>"+"<p>'.$g_morning_msg.'</p>");
var afternoon = ("<h1>'.$g_afternoon_title.'</h1>"+"<p>'.$g_afternoon_msg.'</p>");
var evening = ("<h1>'.$g_evening_title.'</h1>"+"<p>'.$g_evening_msg.'</p>");
to
var morning = (`<h1>'.$g_morning_title.'</h1><p>'.$g_morning_msg.'</p>`);
var afternoon = (`<h1>'.$g_afternoon_title.'</h1><p>'.$g_afternoon_msg.'</p>`);
var evening = (`<h1>'.$g_evening_title.'</h1><p>'.$g_evening_msg.'</p>`);
I replaced the 'double quotes' with 'backtick' and it's working. But it won't work in older IE browsers because backtick is the newest way introduced in javascript to write string (IE 11 and below doesn't support it).
One question, do you need your website to support older IE browsers?
The topic has been marked as resolved.