Whatsapp Multi Agent opening in a new tab
- Posted by Bea Moretto (3) Offline
Hello
I am using Whatsapp Multi Agent on a site and I really enjoyed the extension, but I need to configure it so that the whats app opens in a new tab without leaving the site. it's possible?
thank you.
5 years 2 months ago #1
by Bea Moretto
I am using Whatsapp Multi Agent on a site and I really enjoyed the extension, but I need to configure it so that the whats app opens in a new tab without leaving the site. it's possible?
thank you.
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5262) Offline
Hi sorry for delay in responding.
You can do that by modifying the file /modules/mod_whatsapp_agent/tmpl/default.phpdefault.php.
At lines 523 you will see this code :try to change to
5 years 2 months ago #2
by TemplatePlazza
You can do that by modifying the file /modules/mod_whatsapp_agent/tmpl/default.phpdefault.php.
At lines 523 you will see this code :
document.location.href = encordedUrl;
window.open(encordedUrl,'_blank');
Please Log in or Create an account to join the conversation.
- Posted by Bea Moretto (3) Offline
hello, thanks for the reply. but it did not work...
I changed the suggested line and did not change anything. I really need whatsApp to open in a new tab. What can we try next?
thanks.
5 years 2 months ago #3
by Bea Moretto
I changed the suggested line and did not change anything. I really need whatsApp to open in a new tab. What can we try next?
thanks.
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5262) Offline
Hi beamm, Sorry for delay in responding.
Hmm strange, that code should be work for that. Can you share your website url so I can check it?
5 years 2 months ago #4
by TemplatePlazza
Hmm strange, that code should be work for that. Can you share your website url so I can check it?
Please Log in or Create an account to join the conversation.
- Posted by Bea Moretto (3) Offline
Hi of course. look, I think it was cache or something like that, now I went to see and it's ok, opening in new tab. It worked!! thank you very much!
5 years 2 months ago #5
by Bea Moretto
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5262) Offline