heimrichhannot/contao-rootnav-bundle

Root navigation for contao, working best in multi domain setup.

1.4.0 2022-09-30 07:36 UTC

This package is auto-updated.

Last update: 2022-11-20 10:15:30 UTC


README

Build Status Coverage Status

Provides an 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.1
  • Contao >= 4.1 (only tested with >= 4.4)

If you need Contao 3 compability, check out the Rootnav Module.

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