| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() Hello everyone I am runniing version 4.0.18 of x-cart. I had modification made on my site and would like to know how to add some banner adds to the left and right columns on my site (www.usedbookshq.com). I have tried to look for the code to do that after having read the template editing guide but still am not able to get it together. Can anyone please give me some pointer. Thanks.
__________________
Amani X-Cart Version 4.0.18 |
|||||||
#2
|
|||||||
|
|||||||
![]() Add them to customer/home.tpl...you'll see the table layout...there are three main columns. You can add them as images using this code:
[img]{$ImagesDir}/imagename.jpg[/img] Just upload the image to the skin1/images dir.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I have been give a line of code as follows: <script type="text/javascript" language="javascript" src="http://www.kqzyfj.com/placeholder-674185?target=_top&mouseover=N"></script>
There is also a url: http://www.advertiserserver.com/advertiserimage.gif Is it the same or do I need to do something different
__________________
Amani X-Cart Version 4.0.18 |
|||||||
#4
|
|||||||
|
|||||||
![]() If it is a sript, you need to surround it with {literal} tags:
{literal} <script type="text/javascript" language="javascript" src="http://www.kqzyfj.com/placeholder-674185?target=_top&mouseover=N"></script> {/literal} And please, for the 1000th time, please put your version in your signature.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() X-Cart version: 4.0.18
I have just added the code but it does not populate on the site. And sorry about my signature. I have just added it, but when I submit the changes they do not save.
__________________
Amani X-Cart Version 4.0.18 |
|||||||
#6
|
|||||||
|
|||||||
![]() You need to put your help desk password in for it to save:
Edit profile, enter version, enter help desk password, click the 'Always attach my signature:' box, save. Thanks! As for yoru banner not showing up...be sure you put it in a place that will show up...like between <td> and </td> tags.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() I just want to make sure that I am doing the right thing. Do I need to be goingn to customer/home.tpl( this file only has one line of code with no tables or do I need to be going to skin1/customer/home.tpl.
__________________
Amani X-Cart Version 4.0.18 |
|||||||
#8
|
|||||||
|
|||||||
![]() All the tpl files are in the skin1 directory...the file you are looking at is a php file.
skin1/customer/home.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|