506 Posts in 194 Topics by 253 members
|Go to End|
18 May 2009 at 1:50am
I just installed SilverStripe and want to change the standard "home" page. The website simply shall start with one of my own created pages.
How can I do that? Can't be that hard, or?
18 May 2009 at 6:13am
Change the Page type for the Home page in SS to a Redirector page and then link it to your own Home page.
18 May 2009 at 12:11pm
Ok, but you can't delete "home", because it's something like the index.html and the redirection is the only way to set another page as the starting page?
18 May 2009 at 6:11pm Last edited: 18 May 2009 7:29pm
If you delete "home" you will get an error. If you then flush the database it will recreate a "home" page.
You could also do it by creating a HomePage template (http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site).
Then in HomePage.ss (which is just a html page) you can just delete everyting in the <body> section and include our own content.
As a newbee to SS I'm not sure if you have to do some other things as well
19 May 2009 at 6:09am
Thanks a ton till now!
I now think the standard home is a good thing, because with HTML you'll also always need an index.html. Same thing here.
19 May 2009 at 6:18am
Glad I could help.
|Go to Top|