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

Need Help Adding Logos.....

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-11-2004, 09:59 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default 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
Reply With Quote
  #2  
Old 06-11-2004, 10:15 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

You need to modify the skin1/head.tpl
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #3  
Old 06-11-2004, 10:28 AM
 
laureon laureon is offline
 

Senior Member
  
Join Date: Oct 2003
Posts: 171
 

Default

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.
__________________
X-Cart Gold Version: 4.0.17
X-Configurator
X-AOM
X-FancyCategories
X-RMA
X-Offers
Reply With Quote
  #4  
Old 06-11-2004, 01:39 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

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
Reply With Quote
  #5  
Old 06-11-2004, 02:33 PM
 
laureon laureon is offline
 

Senior Member
  
Join Date: Oct 2003
Posts: 171
 

Default

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
__________________
X-Cart Gold Version: 4.0.17
X-Configurator
X-AOM
X-FancyCategories
X-RMA
X-Offers
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 01:15 PM.

   

 
X-Cart forums © 2001-2020