View Single Post
  #8  
Old 03-13-2014, 01:29 PM
 
xanadude xanadude is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 247
 

Default Re: Live Chat and additional modules help

Hi zhandaan

I am still messing but the way I got the livechat to run was to install the module tony has mentioned above and then go to the folder

skins/default/en/modules/Tony/SslSeal

I edited the header.tpl file I added my live chat code as supplied by you comm100 account

after the existing script in there


<div id="comm100-button-728"></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 = 728;
comm100_chatButton.div_id = 'comm100-button-728';
Comm100API.chat_buttons.push(comm100_chatButton);
Comm100API.site_id = ######;
Comm100API.main_code_plan = 728;
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>

it seemed to work even if my seal is in the wrong place but thats the next chapter
__________________
Xanadude

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