Hi,
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?
Cheers, Mario
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi,
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?
Cheers, Mario
Change the Page type for the Home page in SS to a Redirector page and then link it to your own Home page.
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?
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 :)
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.
Cheers, Mario
Glad I could help. :)