View Single Post
  #19  
Old 05-28-2014, 11:20 AM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: Live Chat and additional modules help

Hi Tony

Thanks for the heads up
I got Live Livechat working in my local test site now on my desktop pc.... all I have done is put the live chat code in the skins/default/en/header/body.tpl

so the contenreads a little like this

<head{foreach:getHeadAttributes(),k,v} {k}="{v}"{end:}>
<list name="head" /><!--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-->
</head>

this uses the floating button so mine is always on the right side of the page.
Hope this helps others

thanks
__________________
Xanadude

http://wemakeanyshirt.com X5 with x-Cart Mobile in build
Reply With Quote