BlueSpiceCustomMenu

Revision as of 12:22, 5 July 2021 by hw>Mlink-rodrigue
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Extension: BlueSpiceCustomMenu

all extensions

Overview
Description:

Provides customizable menus

State: stable Dependency: BlueSpice
Developer: License: GPL-3.0-only
Type: BlueSpice Category: Search and Navigation
Edition: BlueSpice pro, BlueSpice free, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. Version: 4.1+

Features

CustomMenu is a menu with configurable items. It appears as collapsible menu above the top navigation bar. The HTML output is an unordered list. Menu items can be modified by editing the page MediaWiki:CustomMenu/Header.

Syntax:

* html ID (has to be unique) | target page | label (optional)

The html ID can be used to apply CSS rules in MediaWiki:Common.css.


Examples:

1. A link to the Wiki page 'Intranet':

* menuLink1 | Intranet


The html ID 'menuLink1' is used to display the menu item, because no label has been specified.


2. A link to the Wiki page 'Intranet'. The visible label is 'Our Intranet':

* menuLink1 | Intranet | Our Intranet


3. A Dropdown with link to the Wiki pages 'Intranet' and 'Demo'. The visible label of the menu is 'Hello World'. The dropdown contains 'Our Intranet' and 'Demo':

 * Hello World  
 ** menuLink1 | Intranet | Our Intranet  
 ** demoLink | https://en.demo.bluespice.com | Demo

BlueSpiceCustomMenu will be hidden on mobile devices. The width is restricted to the content width. It is limited to one line.

By default, there are only 2 menu levels (link text and one dropdown). More levels can be set, but it is tested only up to level 3.Further menus may be outside the browser window.

Technical Information

This information applies to BlueSpice 4. Technical details for BlueSpice cloud can differ in some cases.

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.3

Integrates into

  • BlueSpiceCustomMenu
  • MenuEditor

Special pages

Configuration

Name Value
CustomMenuHeaderNumberOfLevels 2
CustomMenuHeaderNumberOfMainEntries 10
CustomMenuHeaderNumberOfSubEntries 10

Hooks