Download the PHP package briceburg/silverstripe-pageholder without Composer
On this page you can find all versions of the php package briceburg/silverstripe-pageholder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download briceburg/silverstripe-pageholder
More information about briceburg/silverstripe-pageholder
Files in briceburg/silverstripe-pageholder
Package silverstripe-pageholder
Short Description Hide children from the CMS sitetree and allow management through a Versioned GridField. Think _BlogHolder_ but flexible and for any page type.
License BSD-3-Clause
Homepage https://github.com/briceburg/silverstripe-pageholder
Informations about the package silverstripe-pageholder
SilverStripe PageHolder Module
Hide children from the CMS sitetree and allow management through a Versioned GridField.
Think BlogHolder
but flexible and for any page type.
Features
- Automatically appends GridField(s) for managing children to the extended object
- Supports the CMS history view on manages pages.
Requirements
ExcludeChildren https://github.com/micschk/silverstripe-excludechildren
Tested in SilverStripe 3.0, 3.1
Screenshots
Usage
- Add the
PageHolderExtension
to Pages you want to use as holder pages. -
Specify the child classes to hide from SiteTree and manage with GridField with the $excluded_children static.
- Flush the cache and run /dev/build, you will now see Attorney management under AttorneysPage types.
Configuration
Placing the GridField
By default, PageHolderExtension
will add GridField(s) to Root.Main, before the Metadata field.
Override this behavior through the $pageholder_tab and $pageholder_insertBefore statics.
Or, through YAML Configuration
Changing the GridField Title
PageHolderExtension
infers the GridField title from the plural name of the
child class. Set with the $plural_name static.
Or, through YAML Configuration
Credits
PageHolder provides an enhanced turn-key implementation of