Hide page NodeTypes


(Patric Eckhart) #1

Hey guys,

I have try to hide page NodeTypes in or below certain page. In the first case, it works fine:

'Raw.Site:Homepage':
  ui:
    label: i18n
    icon: 'icon-globe'
    group: 'special'
  superTypes:
    'Neos.NodeTypes:Page': TRUE
  childNodes:
    'footer':
      position: 'end'
      type: 'Neos.Neos:ContentCollection'
  constraints:
    nodeTypes:
      'Raw.Site:Homepage': FALSE

I do the same with another page NodeType, but it does not work.

'Raw.Site:Newsfolder':
  ui:
    label: i18n
    icon: 'icon-folder-open'
    group: 'blog'
  superTypes:
    'Neos.Neos:Shortcut': TRUE
  properties:
    _hiddenInIndex:
      defaultValue: true
      ui:
        inspector:
          group: null
    _hiddenInIndex:
      defaultValue: true
      ui:
        inspector:
          group: null
  constraints:
    nodeTypes:
      'Raw.Site:Newsfolder': FALSE
      'NeosRulez.Blog:BlogPost': TRUE

Can you help me?