adrexia/subsite-modeladmins

Extensions for subsite support of ModelAdmins and data objects

Installs: 24 883

Dependents: 1

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 11

Open Issues: 0

Type:silverstripe-vendormodule

2.3.0 2024-07-02 23:09 UTC

This package is auto-updated.

Last update: 2024-12-11 20:53:24 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