heimrichhannot / contao-rootnav-bundle
Root navigation for contao, working best in multi domain setup.
Installs: 308
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^7.4 || ^8.0
- contao/core-bundle: ^4.9
- heimrichhannot/contao-encore-contracts: ^1.0
- heimrichhannot/contao-utils-bundle: ^2.25
README
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 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