onedrop / sectionmenu
Sectionmenu for Neos
Installs: 75
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 2
Open Issues: 1
Type:neos-package
Requires
- neos/neos: ~3.0
README
This package provides an additional menu element Onedrop.SectionMenu:Menu
which can be used as a replacement
of Neos.Neos:Menu
to provide a section based navigation.
This is especially useful if you're building a onepager and would like to have a dynamic navigation menu as you know it from Neos.
This package also adds the NodeType Onedrop.SectionMenu:Section
which is highly similar
to a Neos.Nodetypes:Headline
which is used target anchors of the generated section menu.
Compatibility
How-To:
Install:
Use the command composer require onedrop/sectionmenu
to add this package as a requirement to your Neos project.
(Or: Download the zip and unpack it to Packages/Application/Onedrop.SectionMenu
)
Usage:
Fusion:
You can use the Onedrop.SectionMenu:Menu
TS object as a replacement for the regular Neos.Neos:Menu
element e.g.
page = Page {
body.parts.menu = Onedrop.SectionMenu:Menu {
maximumLevels = 3
entryLevel = 1
}
}
Content element:
This package provides a content element 'Section' which you need to place somewhere on the page.
It behaves like a regular Header-element except that you can't use Aloha formatting (due to Menu generation).
The element can be placed anywhere e.g. inside a multicolumn element. All Onedrop.SectionMenu:Section
elements from a page are used to generate a second submenu inside the Menu after the regular subpages.