Skip to content

Commit

Permalink
Merge pull request #11 from xini/pull-ss52
Browse files Browse the repository at this point in the history
switch hide_ancestor to hide_pagetypes
  • Loading branch information
dizzystuff authored Jun 5, 2024
2 parents c2a12ee + 6637329 commit c72f7ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
5 changes: 4 additions & 1 deletion _config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit c72f7ec

Please sign in to comment.