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

adding images to the front page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-13-2006, 10:54 PM
 
roo roo is offline
 

Member
  
Join Date: Jul 2006
Posts: 11
 

Default adding images to the front page

Hi Guys

i'm new to this, so need some help. If i want to add an image advertising a product on mine to the front page, is better to just insert the image diectly into home.tpl, or would it be better to make a new .tpl file, insert the image into that and then include that .tpl file into home.tpl

Thanks in advance for your help
__________________
Roger
4.1.10 X-Cart
Reply With Quote
  #2  
Old 08-14-2006, 03:20 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

customer/main/welcome.tpl

That template controls the front page text, so just add your image there.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-17-2006, 09:14 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default

Is it also possible to have your category images on your front page? Like i had in ZenCart here

www.priceguidenetwork.com

Cheers
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #4  
Old 08-17-2006, 09:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You would first need to modify your subcategories template to include icons, and then you could add this to welcome.tpl to show them:

{include file="customer/main/subcategories.tpl"}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-17-2006, 09:45 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default

Is this likely to be a difficult task for an xCart newbie?
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #6  
Old 08-17-2006, 10:05 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just follow this thread:

http://forum.x-cart.com/viewtopic.php?t=5131
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:31 AM.

   

 
X-Cart forums © 2001-2020