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)
-   -   Changing the appearance of the home page. (https://forum.x-cart.com/showthread.php?t=24136)

ptcsstore 08-16-2006 06:52 AM

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.

photo 08-16-2006 06:56 AM

Here is a link to a good starting point. http://forum.x-cart.com/viewtopic.php?t=9123

ptcsstore 08-17-2006 11:56 AM

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.

PhilJ 08-17-2006 01:07 PM

skin1/customer/main/welcome.tpl

Code:

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

ptcsstore 08-18-2006 05:07 AM

That worked, but how can I make it stay within the pages.php template that puts the border around it and such....

heatmiser 07-23-2007 10:16 AM

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?

LittleLizard 07-25-2007 06:50 PM

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.


All times are GMT -8. The time now is 11:19 AM.

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