[SOLVED] Extend Neos.NodeTypes:Text with superTypes Mixin

I’d like to extend multiple NodeTypes with a Mixin.
This works well for “my own” NodeTypes (Company.ProjectMyNodeType)
BUT after adding the Mixin to default Neos.NodeTypes (ex: Neos.NodeTypes:Text) the elements aren’t visible in the “New Element Tab”

My Mixin

Vendor.Project:SectionMenuMixin:
  superTypes:
    Vendor.Project:InspectorSectionsMixin: TRUE # Add UI-Inspector-Section
  properties:
    section:
      type: boolean
      ui:
        label: 'Show in Section-Menu'
        inspector:
          group: section

Try to extend Neos.NodeTypes

'Neos.NodeTypes:Text':
  superTypes:
    Neos.Neos:Content: TRUE
    Vendor.Project:SectionMenuMixin: TRUE

It looks like the default superTypes of Neos.NodeTypes:Text get “overwritten”?

Thanks for a quick hint what im doing wrong…

What’s defined in the Vendor.Project:InspectorSectionsMixin?

(I took the freedom to format your code snippets, there needs to be an empty line before and after for the highlighting to work)

Sorry @bwaidelich
In the InspectorSectionsMixin i wanted to add an Inspector-Group to add multiple Properties (used in multiple Mixins like SectionColor and SectionMenu Titel)

Inspector Tab

Vendor.Project:InspectorSectionsMixin:
  ui:
    group: section
    inspector:
      groups:
        section:
          label: 'Section-Eigenschaften'

OK, thanks for adding the InspectorSectionsMixin definition.
Now, regarding:

What is the expected vs actual behavior you observe?

In Slack you wrote something about the node type not appearing in the “new element wizard”, right?

With the group: section in the InspectorSectionsMixin you configure the node to appear in a group called “section” in the wizard. That group has to be defined via Settings:

(see https://neos.readthedocs.io/en/stable/CreatingASite/NodeTypes/NodeTypeDefinition.html#node-type-definition)

THANKS @bwaidelich
i was dump enough to ignore group: section and thought it’s inspector.group: section

1 Like