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)
-   -   Paste code snippet /script to display ads (https://forum.x-cart.com/showthread.php?t=62553)

wlan2u 02-05-2012 08:30 AM

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

JWait 02-05-2012 08:38 AM

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.

wlan2u 02-05-2012 08:57 AM

Re: Paste code snippet /script to display ads
 
I am using v4.4.3 and skin default.
May I know what is "user CP" ?

JWait 02-05-2012 09:37 AM

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.

wlan2u 02-06-2012 08:19 AM

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.

cflsystems 02-06-2012 09:53 AM

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


All times are GMT -8. The time now is 04:21 PM.

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