Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-rootnav-bundle
Root navigation for contao, working best in multi domain setup.
https://github.com/heimrichhannot/contao-rootnav-bundle
Last synced: about 1 month ago
JSON representation
Root navigation for contao, working best in multi domain setup.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-rootnav-bundle
- Owner: heimrichhannot
- License: lgpl-3.0
- Created: 2018-03-22T11:26:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T13:20:23.000Z (9 months ago)
- Last Synced: 2024-08-31T19:48:23.536Z (4 months ago)
- Language: PHP
- Size: 60.5 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Rootnav
[![](https://img.shields.io/packagist/v/heimrichhannot/contao-rootnav-bundle.svg)](https://packagist.org/packages/heimrichhannot/contao-rootnav-bundle)
[![](https://img.shields.io/packagist/dt/heimrichhannot/contao-rootnav-bundle.svg)](https://packagist.org/packages/heimrichhannot/contao-rootnav-bundle)Provides a navigation to navigate between website roots. Therefore its working best in multi domain setup.
## Features
* Frontend Module allows creating a navigation containing root pages
* [Encore Bundle](https://github.com/heimrichhannot/contao-encore-bundle) support## Requirements
* PHP >= 7.4
* Contao >= 4.9## Install
* Install with composer
```
composer require heimrichhannot/contao-rootnav-bundle
```
* update the database## Usage
Just create the frontendmodule of type 'Root navigation', configure it and include it in your layout or where you want to display it.
### Encore support
If you use this bundle together with encore bundle, you need to active `contao-rootnav-bundle` as Active entry in your page configuration, if you want to use the default mobile view.
## Migration
If you upgrade from rootnav module to rootnav bundle, please note that the frontend module type has changes. For automatic upgrade we provice a migration command do the renaming in the datasebase automatically for you.
```
php vendor/bin/contao-console huh:rootnav:migration
```