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

adding java script

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-04-2002, 12:39 PM
  seaCOAST's Avatar 
seaCOAST seaCOAST is offline
 

X-Adept
  
Join Date: Oct 2002
Location: New Hampshire
Posts: 569
 

Default adding java script

I have a hosted live-chat customer service and want to insert into a template (ie- poweredby.tpl).

I tried adding the code, but I got a smarty error.

Is there a way to do this successfully?
__________________
Xcart V4.5.5 Gold
seaCOAST
"Live FREE or DIE!"
Reply With Quote
  #2  
Old 11-04-2002, 12:45 PM
 
ArmyNavy ArmyNavy is offline
 

Member
  
Join Date: Oct 2002
Location: Philadelphia, PA, USA
Posts: 28
 

Default

I'm interested in this, as well.
__________________
ArmyNavy.com TM
Military Surplus, Clothing, Gear, Vehicles, and Tons More.
\"Tons and Tons of Surplus!\" TM
Reply With Quote
  #3  
Old 11-04-2002, 02:21 PM
 
syddos syddos is offline
 

eXpert
  
Join Date: Sep 2002
Location: London, England, UK
Posts: 259
 

Default

Hi seaCost, ArmyNavy,

I'm not sure I understand your requirements correctly, are you trying to add the text "Powered By XXXX", or a graphic like the "Powered by Xcart", or is it a template file you want to insert into another template?

Regards,
__________________
Syddos

Nothing is impossible, We just don't know how to do it ........Yet!

Xcart 4.1.X PRO (Testing Platform: winXP Pro)
Perl 5.8.7 (win32)
WINAMP 1.6.3 (win32 server package. Includes the following)
- phpMyAdmin v2.8.03
- MySql 5.0.21
- Apache 2.0.55 (win32)
- php 5.1.4
- SQLitemanager 1.2.0
Reply With Quote
  #4  
Old 11-04-2002, 03:33 PM
 
Ian Ian is offline
 

Senior Member
  
Join Date: Sep 2002
Location: Adelaide, South Australia
Posts: 127
 

Default

Hi all

Is it "Live Helper" by chance you are using ? If so I have been testing it and I maybe able to help you

Ian
__________________
_____________________________________

4.6.6 Gold Plus
and 4.7.4 Gold
MySQL server 5.6.29
PHP 5.5.34
Reply With Quote
  #5  
Old 11-04-2002, 04:27 PM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

Hi,

I'm quite interested in this too!

ATKOgirl
__________________
X-Cart Versions: 4.1.10 and 4.2.0
Reply With Quote
  #6  
Old 11-04-2002, 04:45 PM
 
Ian Ian is offline
 

Senior Member
  
Join Date: Sep 2002
Location: Adelaide, South Australia
Posts: 127
 

Default

The way I have been testing "Live Helper" from http://www.turnkeywebtools.com/ is like this.

I install the program onto my server as in their instructions and the address I use in the admin set up is my normal http URL.

In X-Cart I use the following at the bottom of the powered.tpl file

Note this end uses the secure address

This allows me to track people as they enter and move around inside X-Cart and they can call up for an on-line chat to ask questions. All seems to work well and it is in my 3.2.1 version that should be going live in a few days.

Hope this helps everyone.
Ian
__________________
_____________________________________

4.6.6 Gold Plus
and 4.7.4 Gold
MySQL server 5.6.29
PHP 5.5.34
Reply With Quote
  #7  
Old 11-04-2002, 09:00 PM
 
ArmyNavy ArmyNavy is offline
 

Member
  
Join Date: Oct 2002
Location: Philadelphia, PA, USA
Posts: 28
 

Default

Live help stuff will come later for me, I'm sure. My main issue is adding any javascript at all. After I add some, the system chokes and won't generate pages. I'm still totally new to x-cart, and I'm no php meister. So, I'm sure the problem is likely on my end, but I thought I'd mention my interest to see what's what.

How do you like that live help system? Can it handle lots of simultaneous users?

Many thanks
__________________
ArmyNavy.com TM
Military Surplus, Clothing, Gear, Vehicles, and Tons More.
\"Tons and Tons of Surplus!\" TM
Reply With Quote
  #8  
Old 11-04-2002, 09:20 PM
 
Ian Ian is offline
 

Senior Member
  
Join Date: Sep 2002
Location: Adelaide, South Australia
Posts: 127
 

Default

Live Helper is good, you can have as many operators as you want to take the calls. If you get too many at one time it will queue them and notify them to what number they are in the queue. Quite impressive for a small collection of files. I tried it for a short time on my live site and I quickly had a few people call so I think its worth it. I spotted it on one of Boomers sites I think and thats how I came to give it a go.

Ian
__________________
_____________________________________

4.6.6 Gold Plus
and 4.7.4 Gold
MySQL server 5.6.29
PHP 5.5.34
Reply With Quote
  #9  
Old 11-04-2002, 10:47 PM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

Here's an extremely interesting article about this functionality:

http://www.internetretailer.com/article.asp?id=7742

Definitely boosts ROI!!!


ATKOgirl
__________________
X-Cart Versions: 4.1.10 and 4.2.0
Reply With Quote
  #10  
Old 11-04-2002, 11:44 PM
  seaCOAST's Avatar 
seaCOAST seaCOAST is offline
 

X-Adept
  
Join Date: Oct 2002
Location: New Hampshire
Posts: 569
 

Default

Quote:
Originally Posted by Ian
Hi all

Is it "Live Helper" by chance you are using ? If so I have been testing it and I maybe able to help you

Ian

Hi Ian,

It's similar only I don't run any scripts from my site. It's a hosted-service. The javascript just opens a chat window.

I'm just not sure where to put the javascript. I tried putting it in poweredby.tpl after the image, but that generated errors. Maybe I need it in a seperate template?
__________________
Xcart V4.5.5 Gold
seaCOAST
"Live FREE or DIE!"
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 04:44 AM.

   

 
X-Cart forums © 2001-2020