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

rjcbear 06-11-2004 09:59 AM

Need Help Adding Logos.....
 
Ok great minds I need your collective knowledge.

I have decided to use the defoult 3 column design for my site. I am trying to add 2 logos on the left side of my site. That they will be links to Yahoo Auctions and Paypal.

Can you please tell me how can I do this?

Kind regards
Ricky

P.S. I am using the latest version 3.5.8 X-cart Gold

bluecat 06-11-2004 10:15 AM

You need to modify the skin1/head.tpl

laureon 06-11-2004 10:28 AM

Hi,

I presume you wish to have the logos placed on the left hand column of your site i.e. where your categories menu is?

If so you can open up [skin1]/customer/home.tpl and locate the following:

{ include file="customer/categories.tpl" }

paste this below the above line:
Code:


[img]{$ImagesDir}/name_of_your_image.gif[/img]


As you will see rather than using the absolute path to your image everytime, the {$ImagesDir} variable maps to the [skin1]/images folder by default. You will therefore need to ensure that any images you add use the variable '{$ImagesDir}' and that images are located in your [skin1]/images folder.

rjcbear 06-11-2004 01:39 PM

Hello there,

Actually where I like to put them is below the help box on the left side.

Now the Images are in Yahoo auctions servers and Paypal server. Can I just copy and paste the HTML code into the TPL file?

If, I can do that what is the name of the file I need to edit.

Regards,
Ricky

laureon 06-11-2004 02:33 PM

Hi,

If you can save the images locally it would be better for you to load the images from your x-cart rather than 'hot linking'.

To place them below the help box, follow the instructions as per my previous message, but look for '{ include file="help.tpl" }' and copy and paste my code below that.

If you need to add the html, it can be pasted directly into [skin1]/customer/home.tpl

If javascript is involved you will need to place it in between the following tags
Code:

{literal}
and
Code:

{/literal}
hope this helps


All times are GMT -8. The time now is 01:15 PM.

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