Source of file SectionOverviewPage.php
Size: 0,754 Bytes - Last Modified: 2021-12-23T10:11:17+00:00
/var/www/docs.ssmods.com/process/src/code/SectionOverviewPage.php
12345678910111213141516171819202122232425 | <?php namespace PurpleSpider\SectionOverview; use SilverStripe\Forms\HTMLEditor\HTMLEditorField; use Page; class SectionOverviewPage extends Page { private static $singular_name = "Section Overview"; private static $description = 'Shows the Title, Summary & Links for all subpages'; // private static $icon = "section-overview/images/text_list_bullets"; private static $icon = 'purplespider/section-overview: /client/dist/images/icons/page_white_list.gif'; public function getCMSFields() { $fields = parent::getCMSFields(); $fields->addFieldToTab("Root.Main", $editor = HTMLEditorField::create('Content', 'Intro Text'), "Metadata"); $editor->setRows(20); return $fields; } } |