Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding Live Help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-09-2007, 06:38 PM
 
darrylb1231 darrylb1231 is offline
 

Advanced Member
  
Join Date: Aug 2003
Posts: 60
 

Default Adding Live Help

Hello All,

I am trying to add Live Help to my cart. The script I am using requires part of the code to be in the head tag and the rest of the code to be in the Body.

Is there a template that I can put the head code in to make this script work with Xcart. I think if I can find a place to put the head code..it will work. Thanks!

Here is the head code:
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++
<!-- stardevelop.com Live Help International Copyright - All Rights Reserved //-->
<!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->
<script language="JavaScript" type="text/JavaScript" src="http://christmaslightshow.com/livehelp/include/javascript.php"></script>
<!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++

Here is the code that goes in the body:

<!-- stardevelop.com Live Help International Copyright - All Rights Reserved //-->
<!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->
<div id="floatLayer" align="left" style="position:absolute; left:10px; top:10px; visibility:hidden; z-index:5000;">
<map name="LiveHelpInitiateChatMap" id="LiveHelpInitiateChatMap">
<area shape="rect" coords="50,210,212,223" href="http://livehelp.stardevelop.com" target="_blank" alt="stardevelop.com Live Help"/>
<area shape="rect" coords="113,183,197,206" href="#" onclick="openLiveHelp();acceptInitiateChat();retur n false;" alt="Accept"/>
<area shape="rect" coords="206,183,285,206" href="#" onclick="declineInitiateChat();return false;" alt="Decline"/>
<area shape="rect" coords="263,86,301,104" href="#" onclick="declineInitiateChat();return false;" alt="Close"/>
</map>
<div id="InitiateText" align="center" style="position:relative; left:30px; top:145px; width:275px; height:35px; z-index:5001; text-align:center; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold;">Do you have any questions that I can help you with?</div>
<img src="http://christmaslightshow.com/livehelp/locale/en/images/InitateChat.gif" alt="stardevelop.com Live Help" width="323" height="229" border="0" usemap="#LiveHelpInitiateChatMap"/></div>
<!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->

++++++++++++++++++++++++++++++++++++++++++++++++++ + more code....

<!-- stardevelop.com Live Help International Copyright - All Rights Reserved //-->
<!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->
<a href="#" target="_blank" onclick="openLiveHelp(); return false"><img src="http://christmaslightshow.com/livehelp/include/status.php" id="LiveHelpStatus" name="LiveHelpStatus" border="0" alt="Live Help" onload="statusImagesLiveHelp[statusImagesLiveHelp.length] = this;"/></a>
<!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY IMAGE MAP/CODE/LINKS //-->


http://livehelp.stardevelop.com
__________________
Best Regards,
Darryl Brown
http://www.Christmaslightshow.com
Xcart 5.3
Reply With Quote
  #2  
Old 07-10-2007, 09:36 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default Re: Adding Live Help

I use the same one (stardevelop)

can't double check at the moment as im running a backup but im pretty sure the head script goes into head.tpl and the rest would go in home.tpl
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #3  
Old 07-10-2007, 10:29 AM
 
darrylb1231 darrylb1231 is offline
 

Advanced Member
  
Join Date: Aug 2003
Posts: 60
 

Wink Re: Adding Live Help

Quote:
Originally Posted by cotc2001
I use the same one (stardevelop)

can't double check at the moment as im running a backup but im pretty sure the head script goes into head.tpl and the rest would go in home.tpl

Thanks! I got it to work. I tried putting it in the Head.tpl before, but the code kept showing up. I guess I put it in the wrong place. So it was the head.tpl and the home.tpl.

Thanks Again!
__________________
Best Regards,
Darryl Brown
http://www.Christmaslightshow.com
Xcart 5.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:51 PM.

   

 
X-Cart forums © 2001-2020