Skip to content

Instantly share code, notes, and snippets.

@radmiraal
Created September 27, 2015 15:52

Revisions

  1. Rens Admiraal created this gist Sep 27, 2015.
    7 changes: 7 additions & 0 deletions NodeTypes.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    'My.Vendor:Section':
    superTypes:
    'TYPO3.Neos:Content': TRUE
    'TYPO3.Neos:ContentCollection': TRUE
    ui:
    label: 'Section'
    inlineEditable: TRUE
    4 changes: 4 additions & 0 deletions Section.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    {namespace ts=TYPO3\TypoScript\ViewHelpers}
    <section{attributes -> f:format.raw()}>
    <ts:render path="content" />
    </section>
    1 change: 1 addition & 0 deletions Section.ts2
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    prototype(My.Vendor:Section) < prototype(TYPO3.Neos:ContentCollection)