From 60c68098eb97a08e8fafb361963a87208ad8b88a Mon Sep 17 00:00:00 2001 From: scott1702 Date: Wed, 6 May 2015 14:16:39 +1200 Subject: [PATCH 1/3] Update default home content --- code/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index c94141e6..c2bdd580 100644 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -1442,7 +1442,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid if(!SiteTree::get_by_link(Config::inst()->get('RootURLController', 'default_homepage_link'))) { $homepage = new Page(); $homepage->Title = _t('SiteTree.DEFAULTHOMETITLE', 'Home'); - $homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS. You can now access the developer documentation, or begin the tutorials.

'); + $homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

'); $homepage->URLSegment = Config::inst()->get('RootURLController', 'default_homepage_link'); $homepage->Sort = 1; $homepage->write(); From bf25dd949210b10190c16b78372cdcf745eb04a9 Mon Sep 17 00:00:00 2001 From: scott1702 Date: Wed, 17 Jun 2015 15:11:21 +1200 Subject: [PATCH 2/3] Increase click-size of multi-selection button --- templates/Includes/CMSPagesController_ContentToolbar.ss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/Includes/CMSPagesController_ContentToolbar.ss b/templates/Includes/CMSPagesController_ContentToolbar.ss index 038f8a6a..e99bd7ff 100644 --- a/templates/Includes/CMSPagesController_ContentToolbar.ss +++ b/templates/Includes/CMSPagesController_ContentToolbar.ss @@ -1,8 +1,8 @@
-
+
+ <% _t("CMSPagesController_ContentToolbar_ss.MULTISELECT","Multi-selection") %> + $BatchActionsForm
From 0b92a61e5166098481d5a32e8e060e6bf99d315f Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 18 Jun 2015 16:47:10 +0100 Subject: [PATCH 3/3] Updating docs link in default install Fixing the default Content for Homepage to link to docs.silverstripe.org (there's an "s" at the end of "docs") --- code/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index c2bdd580..6766f74f 100644 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -1442,7 +1442,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid if(!SiteTree::get_by_link(Config::inst()->get('RootURLController', 'default_homepage_link'))) { $homepage = new Page(); $homepage->Title = _t('SiteTree.DEFAULTHOMETITLE', 'Home'); - $homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

'); + $homepage->Content = _t('SiteTree.DEFAULTHOMECONTENT', '

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

'); $homepage->URLSegment = Config::inst()->get('RootURLController', 'default_homepage_link'); $homepage->Sort = 1; $homepage->write();