View Single Post
  #7  
Old 03-12-2014, 10:00 PM
 
zhandaan zhandaan is offline
 

Member
  
Join Date: Feb 2014
Posts: 14
 

Default Re: Live Chat and additional modules help

Quote:
Originally Posted by xanadude
hi Tony
I did it before by adding a new .tpl file livechat.tpl that contained this

<div align="center"><br>
<!--Begin Comm100 Live Chat Code-->
<div id="comm100-button-###"></div>
<script type="text/javascript">
var Comm100API = Comm100API || new Object;
Comm100API.chat_buttons = Comm100API.chat_buttons || [];
var comm100_chatButton = new Object;
comm100_chatButton.code_plan = ###;
comm100_chatButton.div_id = 'comm100-button-728';
Comm100API.chat_buttons.push(comm100_chatButton);
Comm100API.site_id = ########;
Comm100API.main_code_plan = ###;
var comm100_lc = document.createElement('script');
comm100_lc.type = 'text/javascript';
comm100_lc.async = true;
comm100_lc.src = 'https://chatserver.comm100.com/livechat.ashx?siteId=' + Comm100API.site_id;
var comm100_s = document.getElementsByTagName('script')[0];
comm100_s.parentNode.insertBefore(comm100_lc, comm100_s);
</script>
<!--End Comm100 Live Chat Code-->
</div><br>
<div class="SSLCert">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;<span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=IXMQvOVPUouH1X69Hdev2Y1XjDLF7Lu9O3c YtMTBJRpwQubdGEpeuXKTg5C"></script></span></div>

then added this to the left bar like this
{include file="customer/livechat.tpl"}

that way I got the SSL seal image and the livechat floating image all in one


Hi xanadude,

how you insert this javascript into your website, because i also testing on the comm100 software, can you guide me?
__________________
x cart 5
Reply With Quote