wola/wola-contao-xnavigation-metamodels
Composer 安装命令:
composer require wola/wola-contao-xnavigation-metamodels
包简介
Metamodels navigation for the xNavigation extension.
README 文档
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_itemormetamodel_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.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-03-11