X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding Live Help (https://forum.x-cart.com/showthread.php?t=32429)

darrylb1231 07-09-2007 06:38 PM

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

cotc2001 07-10-2007 09:36 AM

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

darrylb1231 07-10-2007 10:29 AM

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!


All times are GMT -8. The time now is 03:50 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.