diff --git a/README.md b/README.md index 48b5ebb..ab52e44 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # silverstripe-superlinker-redirection -Requires Silverstripe 5+. +Requires Silverstripe 5.2+. Replace for OOTB Silverstripe Redirector Page, using a SuperLink target to select a much wider range of target types (than simple internal/external) diff --git a/_config/config.yml b/_config/config.yml index 5911fee..adafb29 100644 --- a/_config/config.yml +++ b/_config/config.yml @@ -2,8 +2,11 @@ Name: fromholdio-superlinker-redirection --- +SilverStripe\CMS\Model\SiteTree: + hide_pagetypes: + - SilverStripe\CMS\Model\RedirectorPage + SilverStripe\CMS\Model\RedirectorPage: - hide_ancestor: SilverStripe\CMS\Model\RedirectorPage extensions: fioHiddenPage: Fromholdio\HiddenPages\Extensions\HiddenPageExtension diff --git a/composer.json b/composer.json index a9fe758..a0254e3 100644 --- a/composer.json +++ b/composer.json @@ -13,10 +13,10 @@ "homepage": "https://fromhold.io" }], "require": { - "silverstripe/cms": "~5.0", - "fromholdio/silverstripe-superlinker": "^3.0.0", - "fromholdio/silverstripe-relativeurlfield": "^1.0.0", - "fromholdio/silverstripe-hidden-pages": "^1.1.0", + "silverstripe/cms": "^5.2", + "fromholdio/silverstripe-superlinker": "^3", + "fromholdio/silverstripe-relativeurlfield": "^1", + "fromholdio/silverstripe-hidden-pages": "^2", "stevie-mayhew/hasoneedit": "^2.2" }, "autoload": {