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

Changing the appearance of the home page.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-16-2006, 06:52 AM
 
ptcsstore ptcsstore is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 34
 

Default Changing the appearance of the home page.

I was wanting to change the appearance of my home page to one of the static pages I had created. Does anyone know how to do this. Thank you.
__________________
Bryan Edwards
X-cart Version 4.1.3
Reply With Quote
  #2  
Old 08-16-2006, 06:56 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default

Here is a link to a good starting point. http://forum.x-cart.com/viewtopic.php?t=9123
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #3  
Old 08-17-2006, 11:56 AM
 
ptcsstore ptcsstore is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 34
 

Default

That didn't quite help me out.....what i want to do is add the content of a static page onto the existing home.php. I do not know how to do this, since when a static page is called, it is called by ID. Can anyone help me with this. Thank you.
__________________
Bryan Edwards
X-cart Version 4.1.3
Reply With Quote
  #4  
Old 08-17-2006, 01:07 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

skin1/customer/main/welcome.tpl

Code:
{include file="./pages/US/yourpage.html"}
__________________
xcartmods.co.uk
Reply With Quote
  #5  
Old 08-18-2006, 05:07 AM
 
ptcsstore ptcsstore is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 34
 

Default

That worked, but how can I make it stay within the pages.php template that puts the border around it and such....
__________________
Bryan Edwards
X-cart Version 4.1.3
Reply With Quote
  #6  
Old 07-23-2007, 10:16 AM
 
heatmiser heatmiser is offline
 

Member
  
Join Date: Jul 2004
Posts: 17
 

Default Re: Changing the appearance of the home page.

Quote:
Originally Posted by PhilJ
skin1/customer/main/welcome.tpl

Code:
{include file="./pages/US/yourpage.html"}


When I do this, I just get the include command displayed, not the page it references. What am I doing wrong?
__________________
4.1.8 XCart
UK Based
Reply With Quote
  #7  
Old 07-25-2007, 06:50 PM
 
LittleLizard LittleLizard is offline
 

Member
  
Join Date: Jun 2007
Location: Atlanta
Posts: 27
 

Default Re: Changing the appearance of the home page.

Copy and paste the source code from the static page into the text_welcome language file?

Unless you need it to be synched up with the static page content - then you'll need the include reference. If that's what you need - copy and paste your welcome.tpl code so someone could help you debug.
__________________
www.littlelizard.com
X-Cart version 4.1.8
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 05:35 AM.

   

 
X-Cart forums © 2001-2020