mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Link to the documentation on default pages (merged from 2.1.0 branch, r41730)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42914 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
717737ed27
commit
b8b3bab508
@ -701,7 +701,7 @@ class SiteTree extends DataObject {
|
||||
$homepage = new Page();
|
||||
|
||||
$homepage->Title = "Home";
|
||||
$homepage->Content = "<p>Welcome to SilverStripe! This is the default homepage. You can edit this page by opening <a href=\"admin/\">the CMS</a>.</p>";
|
||||
$homepage->Content = "<p>Welcome to SilverStripe! This is the default homepage. You can edit this page by opening <a href=\"admin/\">the CMS</a>. You can now access the <a href=\"http://doc.silverstripe.com\">developer documentation</a>, or begin <a href=\"http://doc.silverstripe.com/doku.php?id=tutorials\">the tutorials.</a></p>";
|
||||
$homepage->URLSegment = "home";
|
||||
$homepage->Status = "Published";
|
||||
$homepage->write();
|
||||
|
Loading…
x
Reference in New Issue
Block a user