Metamodels navigation for the xNavigation extension.
dev-master 2015-07-28 09:30 UTC
It provides a new item provider and new conditions to work with MetaModels.
- Install the composer plugin for Contao
- Install netzmacht/contao-xnavigation-metamodels
- Create a render setting for the metamodel. It will be used to render the navigation link.
- A jump to page is required to generate the url
- Choose one of the template
metamodel_xnav_item_plain. They only render one item istead of an item list
- Create a new item provider for the metamodel
- Choose the parent page and the created render setting.
- Add the created provider to you menu
- Adjust the used item condition, so that items of type metamodels are included
item.type == metamodels