1

How can i disable the default NodeTypes without deleting the package TYPO3.Neos.NodeTypes?

If i delete this package i also have to delete the package TYPO3.Neos.Kickstarter because it depends on the NodeType package.

I tried set autoinclude to false in the TYPO3.Neos.NodeTypes Settings.yaml but it doesn't work.

TYPO3:
  Neos:
    typoScript:
      autoInclude:
        'TYPO3.Neos.NodeTypes': False

2 Answers2

3

It's possible to mark node types as abstract, then they won't show up in the user interface.

NodeTypes.yaml:

'TYPO3.Neos.NodeTypes:Headline':
  abstract: TRUE

alternatively:

'TYPO3.Neos.NodeTypes:Headline':
  ui: ~
Aske Ertmann
  • 562
  • 4
  • 7
  • Hej Aske. Any news on this one?And can you give a brief example of how to achieve that? –  Nov 17 '14 at 17:17
  • See official documentation to understand the difference between Aske's two options: https://docs.neos.io/cms/manual/content-repository/nodetype-definition#disable-existing-nodetypes – HEYDANNY Jun 28 '22 at 09:14
0

This worked for me to remove the Headline node type from the list of node types available to add to a document:

'TYPO3.Neos.NodeTypes:Headline': []

I put this line into the NodeTypes.yaml of my site package.

mostwanted
  • 1,549
  • 3
  • 13
  • 21