You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
dimti 55db8ceb94 - turn off default wms menu styles 4 months ago
assets/css + support icon base64 & icon base64 minimized 1 year ago
classes * move sideMenuItem group, icon_bas64, icon_base64_minimized to attributes property & support them october >1.0.467 1 year ago
controllers Initial 1 year ago
helpers + minimized menu 1 year ago
lang Initial 1 year ago
partials/menu * move sideMenuItem group, icon_bas64, icon_base64_minimized to attributes property & support them october >1.0.467 1 year ago
updates Initial 1 year ago
.gitignore Initial 1 year ago
Plugin.php - turn off default wms menu styles 4 months ago
README-RU.md Initial 1 year ago
README.md Initial 1 year ago
routes.php Initial 1 year ago

README.md

Menu plugin

Combines menu items from different plugins

To add menu items add to classPlugin

public function addToMainNavigation()
{
    return [
        '{tab_name}' => [
            '{name}' => [
                'label'       => {label},
                'url'         => {url},
                'permissions' => [{permission}, ...],
                'icon'        => {icon},
                'order'       => {order},
                //'first'       => true,
                'subMenu'     => [
                    '{tab_name}' => [
                        '{name}' => [
                            'label'       => {label},
                            'url'         => {url},
                            'permissions' => [{permission}, ...],
                            'icon'        => {icon},
                            'order'       => {order},
                        ],
                        ...
                    ],
                ...
            ],
            ...
        ],
        ...
    ];
}

Default tab name is {default_name}

For change default tab name, in Plugin.php file, declare the constant DEFAULT_MENU_NAME

If the first element is specified, it will immediately open when you click on the menu. If not, the menu or submenu page will be opened.