From 467a50175e9c270243e11e44f1edd1329b988889 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Tue, 14 Apr 2015 14:22:52 +1200 Subject: [PATCH] Adjust size of custom summary and remove extra title Depends on https://github.com/silverstripe/silverstripe-framework/pull/4072 --- code/model/BlogPost.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/model/BlogPost.php b/code/model/BlogPost.php index d1ce042..f055a67 100644 --- a/code/model/BlogPost.php +++ b/code/model/BlogPost.php @@ -117,9 +117,10 @@ class BlogPost extends Page { 'CustomSummary', _t('BlogPost.CUSTOMSUMMARY', 'Add A Custom Summary'), array( - $summary = HtmlEditorField::create("Summary") + $summary = HtmlEditorField::create("Summary", false) ) )->setHeadingLevel(4); + $summary->setRows(5); $summary->setDescription(_t( 'BlogPost.SUMMARY_DESCRIPTION', "If no summary is specified the first 30 words will be used."