Skip to content

Commit

Permalink
silverstripe ready
Browse files Browse the repository at this point in the history
  • Loading branch information
jellygnite committed Oct 22, 2024
1 parent 5c7a9c5 commit 5313669
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
],
"license": "BSD-3-Clause",
"require": {
"silverstripe/framework": "^4.0",
"silverstripe/admin": "^1.0",
"dnadesign/silverstripe-elemental": "^4.0"
"silverstripe/framework": "^5.0",
"silverstripe/admin": "^2.0",
"dnadesign/silverstripe-elemental": "^5.0"
},
"autoload": {
"psr-4": {
Expand All @@ -22,7 +22,7 @@
"client/dist"
],
"branch-alias": {
"dev-master": "4.0-dev"
"dev-master": "5.x-dev"
}
},
"minimum-stability": "dev",
Expand Down
4 changes: 2 additions & 2 deletions src/Extensions/PageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public function updateCMSFields(FieldList $fields)
$enable_summary = $this->owner->config()->get('enable_summary');
if($enable_summary){
$fields->insertBefore(
'Content',
TextAreaField::create("Summary", "Summary")
->setRightTitle('If no summary is specified the first 50 words will be used from the Content field.')
->setRows(3),
'Content'
->setRows(3)
);
}

Expand Down

0 comments on commit 5313669

Please sign in to comment.