diff --git a/Neos.NodeTypes.Navigation/Resources/Private/Fusion/Root.fusion b/Neos.NodeTypes.Navigation/Resources/Private/Fusion/Root.fusion index 16771aba7bb..94d69a89080 100644 --- a/Neos.NodeTypes.Navigation/Resources/Private/Fusion/Root.fusion +++ b/Neos.NodeTypes.Navigation/Resources/Private/Fusion/Root.fusion @@ -1,7 +1,5 @@ # Navigation Fusion Object - uses Neos.Neos:Menu and is rendering menus inserted as content elements prototype(Neos.NodeTypes.Navigation:Navigation) < prototype(Neos.Neos:Menu) { - templatePath = 'resource://Neos.NodeTypes.Navigation/Private/Templates/NodeTypes/Navigation.html' - startingPoint = ${q(node).property('startingPoint') ? q(node).property('startingPoint') : documentNode} itemCollection = ${Array.isEmpty(q(node).property('selection') ? q(node).property('selection') : {}) ? null : q(node).property('selection')} @@ -26,6 +24,16 @@ prototype(Neos.NodeTypes.Navigation:Navigation) < prototype(Neos.Neos:Menu) { node = ${node} + renderer > + renderer = afx` + + ` + @process.contentElementWrapping = Neos.Neos:ContentElementWrapping @cache { diff --git a/Neos.NodeTypes.Navigation/Resources/Private/Templates/NodeTypes/Navigation.html b/Neos.NodeTypes.Navigation/Resources/Private/Templates/NodeTypes/Navigation.html deleted file mode 100644 index 9217852c18d..00000000000 --- a/Neos.NodeTypes.Navigation/Resources/Private/Templates/NodeTypes/Navigation.html +++ /dev/null @@ -1,29 +0,0 @@ -{namespace neos=Neos\Neos\ViewHelpers} -{namespace ts=Neos\Fusion\ViewHelpers} - f:format.raw()}> - - -
    - -
-
- - -

{f:translate(id: 'content.emptyMenu', package: 'Neos.NodeTypes.Navigation', source: 'NodeTypes/Navigation')}

-
-
-
- - - - - f:format.raw()}> - {item.label} - -
    - -
-
- -
-