Merge pull request #185 from tractorcow/pulls/2.0/summary-size

Adjust size of custom summary and remove extra title
This commit is contained in:
Christopher Pitt 2015-04-14 14:27:59 +12:00
commit 61f996461c

View File

@ -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."