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
4 years 3 months ago #7 by Erick Santisteban
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5310) Offline
Hi, I got your post. Let me check on it
4 years 3 months ago #8 by TemplatePlazza
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5310) Offline
Hi, I've made some changes to the module. Seems it's working properly now. Can you check it please?
4 years 3 months ago #9 by TemplatePlazza
The topic has been marked as resolved.
  • Posted by Erick Santisteban (10) Offline
is working thank you so much, what was the problem ?
4 years 3 months ago #10 by Erick Santisteban
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5310) Offline
It's the 'greeting' parts where strangely doesn't work as it should on your website.
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?
4 years 3 months ago #11 by TemplatePlazza
The topic has been marked as resolved.
  • Posted by Erick Santisteban (10) Offline
no, not really we really let our customers know that they need to upgrade their systems. thank you so much for getting it fixed
4 years 3 months ago #12 by Erick Santisteban
The topic has been marked as resolved.
Powered by Kunena Forum