Jump to content

[SOLVED] WebIM integration problem


Recommended Posts

Hello

 

I want to add live support functionality to my website and I don't know where to insert the code below, to show the live support button on all pages:

 

<!-- webim button --><a href="/webim/client.php?locale=fa" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('/webim/client.php?locale=fa&url='+escape(document.location.href)+'&referrer='+escape(document.referrer), 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="/webim/b.php?i=webimfa&lang=fa" border="0" width="163" height="61" alt=""/></a><!-- / webim button -->

 

I'd appreciate your help. Thank you!

Link to comment
Share on other sites

The best bet would be to put it in a module that is displayed on all of your pages since it is a button. Another great try is if you are wanting it towards the top of your page putting it in your header.tpl or appending a module at the top of your page.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 3 months later...
×
×
  • Create New...