Created
July 3, 2019 10:42
-
-
Save derralf/e92b0b648598ae1329091191d819f4bb to your computer and use it in GitHub Desktop.
silverstripe-elemental: break cascading publishing / owns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================================================================================== | |
# Do not automatically publish all the individual elements when publishing the page | |
# Allow published and unpublished items on a page | |
# | |
# see: | |
# Disable Cascade-publishing of Element in ElementalArea | |
# https://github.com/dnadesign/silverstripe-elemental/issues/681 | |
# or: | |
# QUESTION - On Page save&publish, it publishes all elements... | |
# https://github.com/dnadesign/silverstripe-elemental/issues/205 | |
# ================================================================================== | |
--- | |
Name: elementalownsreset | |
After: elemental | |
--- | |
DNADesign\Elemental\Models\ElementalArea: | |
owns: null | |
--- | |
Name: elementalowns | |
After: #elementalownsreset | |
--- | |
DNADesign\Elemental\Models\ElementalArea: | |
owns: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment