plato-creative/plato-silverstripe-sections

There is no license information available for the latest version (dev-master) of this package.

Plato's Sections module for the base installer

dev-master 2016-02-18 18:58 UTC

This package is not auto-updated.

Last update: 2024-11-06 23:54:13 UTC


README

Plato's Sections module for the base installer. Please see requirements before installing.

Requirements

  • SilverStripe 3.2.*

Installation

composer require plato-creative/plato-silverstripe-sections dev-master

Configuration

There is currently on config option. That is to include the section from both the CMS and frontend based on ClassName.

Page:
  SectionIncludedPageTypes:
    - HomePage
    - AnotherPage

Extending

To add a new section type just create a new class that extends Section

class ImageSection extends Section {
        ...