FlowPack.NodeTemplates and creation of nested ChildNodes (inside two columns element)

Hi :slight_smile:

I got around FlowPack.NodeTemplates and love it! Really helps content creation :slight_smile:

I’m facing a issue with creating childNodes inside my own Two Column element. My document NodeType configuration is as follows:

'Site.Base:Document.LandingPage':
  superTypes:
    'Site.Base:Document': true
  # removed not relevant ui configuration
  childNodes:
    main:
      type: 'Site.Base:Collection.Content.Main'
  options:
    template:
      childNodes:
        mainContentCollection:
          name: 'main'
          childNodes:
            twoColumns:
              type: 'Site.Base:Content.TwoColumns'
              childNodes:
                column0:
                  type: 'Site.Base:Content.LandingPage.Benefits'

What is being created is the Site.Base:Document.Landingpage document node, with the Site.Base:Content.TwoColumns node in the main content collection.

The thing that is not being created is the Site.Base:Content.LandingPage.Benefits nodetype inside column0 of my Two Column nodetype.

Can the author or anyone else using NodeTemplates help me, I will be very thankful for that :slight_smile:

Hey @sorenmalling,

I have no example at hand, but I assume it should be something like (adding the additional content collection)

    ...  
      childNodes:
        twoColumns:
          type: 'Site.Base:Content.TwoColumns'
          childNodes:
            column0:
              type: 'Neos.Neos:ContentCollection'
              childNodes:
                benefits:
                  type: 'Site.Base:Content.LandingPage.Benefits'