public function getSettingsFields()
    {
        $fields = parent::getSettingsFields();

        $settings = FieldGroup::create(
            FieldGroup::create(
                NumericField::create('Width', _t('CarouselPage.db_Width')),
                NumericField::create('Height', _t('CarouselPage.db_Height')),
                CheckboxField::create('Captions', _t('CarouselPage.db_Captions'))
            )
        );
        $settings->setName('Carousel');
        $settings->setTitle(_t('CarouselPage.SINGULARNAME'));
        $fields->addFieldToTab('Root.Settings', $settings);

        return $fields;
    }
public function getSettingsFields()
    {
        $fields = parent::getSettingsFields();

        $settings = FieldGroup::create(
            FieldGroup::create(
                NumericField::create('Width', _t('CarouselPage.db_Width')),
                NumericField::create('Height', _t('CarouselPage.db_Height')),
                CheckboxField::create('Captions', _t('CarouselPage.db_Captions'))
            )
        );
        $settings->setName('Carousel');
        $settings->setTitle(_t('CarouselPage.SINGULARNAME'));
        $fields->addFieldToTab('Root.Settings', $settings);

        return $fields;
    }
public function getSettingsFields ( ) { $ fields = parent :: getSettingsFields ( ) ; $ settings = FieldGroup :: create ( FieldGroup :: create ( NumericField :: create ( 'Width' , _t ( 'CarouselPage.db_Width' ) ) , NumericField :: create ( 'Height' , _t ( 'CarouselPage.db_Height' ) ) , CheckboxField :: create ( 'Captions' , _t ( 'CarouselPage.db_Captions' ) ) ) ) ; $ settings -> setName ( 'Carousel' ) ; $ settings -> setTitle ( _t ( 'CarouselPage.SINGULARNAME' ) ) ; $ fields -> addFieldToTab ( 'Root.Settings' , $ settings ) ; return $ fields ; }
Add carousel related fields to the page settings.

Every CarouselPage instance can have its own settings, that is
different pages can own carousels of different sizes.

@return FieldList
Add carousel related fields to the page settings .