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

Paste code snippet /script to display ads

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-05-2012, 08:30 AM
 
wlan2u wlan2u is offline
 

Member
  
Join Date: Feb 2012
Posts: 24
 

Red face Paste code snippet /script to display ads

I wanted to Maximum Income by offer website space for advertisment.
To completed the registration, I need to paste code snippet onto my website to allow readers to create ads.

They instructin are "Paste the script onto the bottom of your page▓s HTML source code, right before the </body> tag"

I have try numbers of .tpl files, yet can't get it work.
Pls tell me what .tpl file and they dir to add in the script.

Thanks
Reply With Quote
  #2  
Old 02-05-2012, 08:38 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Paste code snippet /script to display ads

What version of x-cart are you using? You should add thism and possibly the skin you are using to your profile in the "user CP" at the top of this page.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 02-05-2012, 08:57 AM
 
wlan2u wlan2u is offline
 

Member
  
Join Date: Feb 2012
Posts: 24
 

Default Re: Paste code snippet /script to display ads

I am using v4.4.3 and skin default.
May I know what is "user CP" ?
__________________
GoldPlus v4.5.4
Reply With Quote
  #4  
Old 02-05-2012, 09:37 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Paste code snippet /script to display ads

If it is a Javascript it should be added to either service_head.tpl or service_js.tpl in the common_files/customer folder.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #5  
Old 02-06-2012, 08:19 AM
 
wlan2u wlan2u is offline
 

Member
  
Join Date: Feb 2012
Posts: 24
 

Default Re: Paste code snippet /script to display ads

I try add the code in service_head.tpl and service_js.tpl in the common_files/customer folder but it don't work.

Take a look at http://www.komoona.com , I just can't get it work for me.
__________________
GoldPlus v4.5.4
Reply With Quote
  #6  
Old 02-06-2012, 09:53 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Paste code snippet /script to display ads

Put the code in skin/your_skin/customer/home.tpl just before the </body> tag, see if it works. If it is a js code you need to surrouned it with {literal} code here {/literal} tag
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 07:44 PM.

   

 
X-Cart forums © 2001-2020