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

Home page different from interior pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2005, 11:30 AM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default Home page different from interior pages

This is my first time working with X-Cart, and I have a design that I need to implement for a client. The design calls for a home page with a header, 3-column body, and the footer. The third column would contain some graphic link navigation to other areas of the site that would be static. The interior pages would also have the header, 3-column body, and a footer. On these pages, the third column would be upselling/cross-selling products, and the view cart info. I have made some good progress to getting where I want, but seem to have reached a stand still since last Friday. I have been searching these forums and just can't seem to find the info I need on which files I need to be editing.

I am posting this link here to show what the home page should look like when I am done: http://rightminddesigns.com/layout1b.jpg.

This is the site as it exists today: (edited to remove client URL)

Any help and guidance would be appreciated.

TIA!
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
Reply With Quote
  #2  
Old 09-21-2005, 12:23 PM
 
balinor balinor is offline
 

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

Default

Well first you need to go from a 100% width layout to a fixed with layout. You can change the overall width of the site by editing rectangle_top.tpl.

If you want something to only be displayed on the home page, you should put the content in customer/main/welcome.tpl, or use an {if} statement.

Next, I'd alter products_t.tpl to get the featured products to show up the way you want them, and either alter dialog.tpl (the template that controls the blue box around the content) or remove the include for it in featured.tpl.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-21-2005, 12:39 PM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default

Thanks for the input! The dialog.tpl really helps alot...I was just starting to look for where that box "lives".

To resolve my first issue (in case any one else is looking), I edited home.tpl and rectangle_bottom.tpl, adding some {if} statements on the right column and bottom to get content to display in the appropriate places.

Things are moving along nicely now! \
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
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 03:05 PM.

   

 
X-Cart forums © 2001-2020