adrexia/subsite-modeladmins

Extensions for subsite support of ModelAdmins and data objects

Installs: 13 161

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 7

Open Issues: 0

Type:silverstripe-vendormodule

2.2.1 2019-03-06 04:33 UTC

This package is auto-updated.

Last update: 2021-10-06 10:39:18 UTC


README

Extensions for subsite support of ModelAdmins and DataObjects

Requirements

Silverstripe 4. See 3.0 branch for earlier versions. This branch is a work in progress, and subsites is not yet stable on Silverstripe 4.

Usage:

In your config.yml file, include the extensions against the ModelAdmin and DataObject you want to add subsite support to. For example, if you want to add Subsite support to the RedirectedURLs module:

SilverStripe\RedirectedURLs\Model\RedirectedURL:
  extensions:
    - Adrexia\SubsiteModelAdmins\SubsiteModelExtension
SilverStripe\RedirectedURLs\Admin\RedirectedURLAdmin:
  extensions:
    - Adrexia\SubsiteModelAdmins\SubsiteAdminExtension