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)
-   -   Adding banners (https://forum.x-cart.com/showthread.php?t=23843)

Amani 08-04-2006 08:35 AM

Adding banners
 
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.

balinor 08-04-2006 08:37 AM

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.

Amani 08-04-2006 08:44 AM

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

balinor 08-04-2006 08:46 AM

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.

Amani 08-04-2006 09:00 AM

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.

balinor 08-04-2006 09:22 AM

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.

Amani 08-04-2006 09:43 AM

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.

balinor 08-04-2006 09:53 AM

All the tpl files are in the skin1 directory...the file you are looking at is a php file.

skin1/customer/home.tpl


All times are GMT -8. The time now is 11:47 PM.

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