Quote

We're also available for Custom Joomla Development

Hire us now

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.
Resolved
The discussion has been resolved.
       
  • Replied by admin on Saturday, October 12 2019, 11:45 AM · Hide· #1
    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');
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by beamm on Monday, October 14 2019, 02:34 PM · Hide· #2
    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.
  •  
  • Replied by admin on Wednesday, October 16 2019, 10:23 AM · Hide· #3
    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?
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by beamm on Wednesday, October 16 2019, 01:27 PM · Hide· #4
    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
  •  
  •  
    Replied by admin on Wednesday, October 16 2019, 11:17 PM · Hide· #5
    Ok glad to know it's finally worked out ;)
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments