22850 Posts in 9711 Topics by 2803 members
|Go to End|
21 July 2009 at 5:49pm Last edited: 21 July 2009 7:45pm
I'm very new to SilverStripe. Currently I'm doing my first project with it. Every time when I run /dev/build/?flush=all, the default home page, named 'Home' is created. I have a second page with different name, which I want to be my 'home page' (the page that is shown by default). Is it possible to change the home page? If so, where?
22 July 2009 at 2:31am
SilverStripe looks for a page with the URL segment 'home' to use as the home page. To get your new page to be the home page simply delete the current homepage and then change the URLSegment of your custom page to 'home' under the 'metadata' tab.
4 March 2010 at 10:29pm
Is there a way of preventing the 'Page not found' page from being automatically generated? Or at least hiding it at a specific user level?
7 March 2010 at 1:44pm
Aram, don't you also have to move your new home page to the top of the sitetree? or does it just look for 'home' at any location?
Tim, is this the same client thats wants no functionality at all from their CMS? If so, at this point, I am wondering why you don't just give them HTML files and as copy of Dreamweaver ;).
I think that the ability to edit 'Page not found' and other error pages by content editors is quite important, as they may need to quickly change contact information or any other details that are present on the page.
8 January 2011 at 11:21am
I changed the URL Segment of my custom page to 'home' under the 'metadata' tab, and it is now the home page that appears if there is nothing in the URL except the domain name (http://mysite.com), which is what I want.
In the Navigation menu, the link to the page I am using for my home page simply points to http://mysite.com. If I am at a page like http://mysite.com/about, clicking on that link to http://mysite.com does nothing.
How does one force Silverstripe to return to the home page via an unmodified URL like http://mysite.com?
|Go to Top|