Silverstripe Version:4
Question: How to hide default ‘Content Block’ provided by silverstripe elemental module as well as any custom blocks I create ?
I dont want to show few blocks in the ‘Add blocks’ menu elemental module provide. How can I do that?
Thanks in advance.
Tim
February 17, 2025, 8:41am
2
Have a look at the docs here: silverstripe-elemental/docs/en/01_basic_setup.md at 5 · silverstripe/silverstripe-elemental · GitHub
You can disallow specific elements from specific pages. So, if you want to globally remove the standard content element, you could do so at the base page class, eg:
Page:
disallowed_elements:
- DNADesign\Elemental\Models\ElementContent