Whatsapp Multi Agent opening in a new tab

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

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 :
document.location.href = encordedUrl;
try to change to
window.open(encordedUrl,'_blank');
5 years 2 months ago #2 by TemplatePlazza

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

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

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

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

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! :D
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
Ok glad to know it's finally worked out ;)
5 years 2 months ago #6 by TemplatePlazza

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

Powered by Kunena Forum