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)
-   -   want to add live help script to xcart pages (https://forum.x-cart.com/showthread.php?t=44947)

Glowinafuse 01-20-2009 12:56 PM

Re: want to add live help script to xcart pages
 
I know some html, but not css....

Do you have any idea, where I would add this code to? Which template? I can always try and try again... haha As long as I knew I was in the correct tpl.

Again, thanks alot for your help. I hope I can get this going.

JAson

balinor 01-20-2009 01:08 PM

Re: want to add live help script to xcart pages
 
Use webmaster mode and the thread I mentioned to determine which template you need to edit.

cbostard 01-21-2009 06:13 AM

Re: want to add live help script to xcart pages
 
if you install the free mod" sales N stats", it already has that feature built right into it.
I works great and easy to turn on and off

balinor 01-21-2009 06:14 AM

Re: want to add live help script to xcart pages
 
It actually doesn't work well and is a huge resource hog, I don't recommend it at all.

Glowinafuse 01-21-2009 09:01 AM

Re: want to add live help script to xcart pages
 
Okay, I want to place the "code/ image to click" in the top of the categories template.
The code:

{* $Id: categories.tpl,v 1.26.2.4 2008/07/22 07:58:28 ferz Exp $ *}
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="fc_cellpadding" value="0"}
{else}
{if $config.General.root_categories eq "Y"}
{foreach from=$categories item=c}
<font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></font><br />
{/foreach}
{else} {foreach from=$subcategories item=c key=catid}
<font class="CategoriesList"><a href="home.php?cat={$catid}" class="VertMenuItems">{$c.category}</a></font><br />
{/foreach}
{/if}
{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}
************************************************** **************************************************

Now I want to add the following code above where the list of categories are:

<!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ -->
<div id="craftysyntax">
<script type="text/javascript" src="/livehelp/livehelp_js.php?eo=1&relative=Y&amp;department=1&a mp;serversession=1&amp;pingtimes=15&amp;secure=Y"> </script>
<br><font style="font-family: verdana, helvetica, sans-serif; font-size: 8px; color: #000000;">Powered By:</font>
<a href="http://www.craftysyntax.com" alt="Crafty Syntax Live Help" target="_blank" style="font-family: verdana, helvetica, sans-serif; font-size: 10px; color: #11498e; text-decoration: none; font-weight: bold;">Crafty Syntax</a>
</div>
<!-- copyright 2003 - 2008 by Eric Gerdes -->

************************************************** ************************************************** **

I have looked at the code, and did not know if I should mess with it or not, unless I knew where to put it...

So if anyone has any ideas, shoot themm my way...

Thanks in advance everyone especially you balinor... Thank you...

Jason

Glowinafuse 01-21-2009 09:08 AM

Re: want to add live help script to xcart pages
 
Well nevermind... It was easier than I thought.. Just needed to be nudged the correct way to begin...

Thanks balinor for the help...

Jason


All times are GMT -8. The time now is 04:09 AM.

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