wola / wola-contao-xnavigation-metamodels
Metamodels navigation for the xNavigation extension.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- php: >=5.3
- bit3/contao-meta-palettes: ~1.0
- bit3/contao-xnavigation: ~2.0
- contao-community-alliance/composer-plugin: ~2.0
- contao-community-alliance/event-dispatcher: ~1.0
- contao/core: >=3.2.1,<3.6-dev
- metamodels/core: 2.0.x-dev
This package is not auto-updated.
Last update: 2024-11-09 18:53:19 UTC
README
This extension integrates MetaModels into the highly flexibile extended navigation extension contao-xnavigation.
It provides a new item provider and new conditions to work with MetaModels.
Installation
- Install the composer plugin for Contao
- Install netzmacht/contao-xnavigation-metamodels
Usage
- Create a render setting for the metamodel. It will be used to render the navigation link.
- Important:
- A jump to page is required to generate the url
- Choose one of the template
metamodel_xnav_item
ormetamodel_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
That's it.