Download the PHP package contao-community-alliance/nested-menu without Composer
On this page you can find all versions of the php package contao-community-alliance/nested-menu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download contao-community-alliance/nested-menu
More information about contao-community-alliance/nested-menu
Files in contao-community-alliance/nested-menu
Package nested-menu
Short Description Nested menus for Contao OpenSource CMS
License LGPL-3.0+
Homepage http://c-c-a.org
Informations about the package nested-menu
Nested menus for the Contao OpenSource CMS
![Stable Build Status](http://img.shields.io/travis/contao-community-alliance/nested-menu/master.svg?style=flat-square&label=stable build) ![Upstream Build Status](http://img.shields.io/travis/contao-community-alliance/nested-menu/develop.svg?style=flat-square&label=dev build)
The benefit of nested menu is to reduce the count of backend menu items and group them into a sub menu.
Define nested menu items
First you need a navigation setup with a lot of items.
Now you have to define, which item will be nested into another item.
Now a virtual structure will be created, that look like this:
Keep in mind, the entries entry5
till entry9
are only hidden from the user.
The new item grouped_entries
now provide a navigation listing,
similar to the old navigation listing, known from the Contao 2 backend startpage.
It is also possible to make different groups in the sub menu, just add a :group-name
to the nested
key.
Now entry5
and entry6
will be grouped, entry7
and entry8
will be grouped and also entry9
get an own group.
Translations
Every sub menu group require a language key in the $GLOBALS['TL_LANG']['MOD']
array, equals to the group name.
Security
Because nested menu is just a visual modification, you can grant or limit access to every single menu item, including the grouped item itself. You will not miss all any permissions Contao provide.
All versions of nested-menu with dependencies
contao/core Version >=2.11,<4
contao-community-alliance/composer-plugin Version ~2
contao-community-alliance/contao-twig Version ~1.11