| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding a static page to the home page? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Adding a static page to the home page?
At the top of the "home" page there is a spot for a welcome message.
I had my site setup the way I wanted, then I managed to lose it and can't for the life of me remember how I did it! I have a blog that saves to a static page. I want to display this static html file in the area where the welcome message would be. So I'd like it where you come to the home page of the site and at the top you'll see the blog.htm file displayed in the center with scroll bars and such. Then when I update the blog people will be able to read it on my site. I'm using the latest version of Xcart as it's a brand new install. Thanks in advance! |
|||||||
#2
|
|||||||
|
|||||||
Re: Adding a static page to the home page?
In skin1/customer/main/welcome.tpl
add... Code:
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||
|
|||||||
Re: Adding a static page to the home page?
Thanks for the reply, but that just gives me an error message.
Warning: Smarty error: unable to read resource: "page_006.html" in /home/paintbal/public_html/Xcart2k7/Smarty-2.6.12/Smarty.class.php on line 1095 Am I doing something wrong? |
|||||||
#4
|
|||||||
|
|||||||
Re: Adding a static page to the home page?
You just need to ensure the path is correct.
Assuming the page is an X-Cart static page, try... Code:
__________________
xcartmods.co.uk |
|||||||
#5
|
|||||||
|
|||||||
Re: Adding a static page to the home page?
Hey!! That worked great! Thanks a million.
The problem I've got now is my page_006 is very long. Is there a way to include it into a frame or something to it can have scroll bars? |
|||||||
#6
|
|||||||
|
|||||||
Re: Adding a static page to the home page?
You could use an inline frame instead I suppose...
Code:
__________________
xcartmods.co.uk |
|||||||
|
#7
|
|||||||
|
|||||||
Re: Adding a static page to the home page?
OH!!! Now that's working just fine!
|
|||||||
#8
|
|||||||
|
|||||||
Re: Adding a static page to the home page?
Cool, please add your x-cart version to your signature. That will help if you have any future questions
__________________
xcartmods.co.uk |
|||||||
|
|||
X-Cart forums © 2001-2020
|