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 10:41 AM

want to add live help script to xcart pages
 
Hello everyone. I am wanting to add my crafty syntax live help to all pages in the xcart.

What and where do I need to do this. There is a line of script code that needs to be inserted.

Thanks in advance,

Jason

balinor 01-20-2009 10:42 AM

Re: want to add live help script to xcart pages
 
customer/home.tpl

Glowinafuse 01-20-2009 11:43 AM

Re: want to add live help script to xcart pages
 
okay, not to sound stupid. But where is that at? I could not find it in the directory.

What exact dir is it? Path?

Please let me know...

Sorry for the dumbness...lol

balinor 01-20-2009 11:44 AM

Re: want to add live help script to xcart pages
 
skin1/customer/home.tpl

Glowinafuse 01-20-2009 11:54 AM

Re: want to add live help script to xcart pages
 
Okay, sorry, I found it... lol...

But how do I edit a tpl?

Is there a program that will show you how it will look as you do it? Or is it all done by text?

Any help would be apprecialted

balinor 01-20-2009 12:02 PM

Re: want to add live help script to xcart pages
 
It is code, so you edit it with a text editor like UltraEdit, or the built-in template editor in X-Cart (click 'Edit Templates'). May want to read this first:

http://forum.x-cart.com/showthread.php?t=21529

ARW VISIONS 01-20-2009 12:03 PM

Re: want to add live help script to xcart pages
 
not to hijack but is this software any good? the crafty syntax thingy

Glowinafuse 01-20-2009 12:12 PM

Re: want to add live help script to xcart pages
 
Well, I have been usiing it for a little while, had a few others installed, but Crafty has alot more options, etc... and a little more professional.

I like it alot, I have it on 3 of my sites, and it works very well.

let me know if you have any questions about it...

Glowinafuse 01-20-2009 12:18 PM

Re: want to add live help script to xcart pages
 
Okay, I looked with a text editor... and DAMN... I am confused, with no idea how to do this.

I wanted I think to put it over the"your cart" box on top right of screen.

Can anyone give me the place where I would do this?

If you need the code, let me know and I will send it to you if that helps.

Just really need to get this on there, and Have no idea what to do next.

Thanks in advance,

Jason

balinor 01-20-2009 12:23 PM

Re: want to add live help script to xcart pages
 
Well home.tpl may not be the right place then, I assumed you just needed to add some code to the <head> tag. First you need to find what template controls the area you want to add it to (see the thread I linked) and then add it there. If you don't know html/css, this isn't going to be easy and you may want to hire someone to do it for you.

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:10 AM.

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