Reference:BlueSpiceCustomMenu: Difference between revisions

hw>Mlink-rodrigue
No edit summary
 
m (Text replacement - "BlueSpice Cloud" to "BlueSpice cloud")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{BSExtensionInfo
{{BSExtensionInfo
|desc=Provides customizable menus
|status=stable
|status=stable
|type=BlueSpice
|type=BlueSpice
|edition=BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud
|edition=BlueSpice pro, BlueSpice free, BlueSpice farm, BlueSpice cloud
|compatible=BlueSpice
|compatible=BlueSpice
|category=Search and Navigation
|category=Search and Navigation
|license=GPL v3 only
|license=GPL v3 only
|features=
|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 <code>MediaWiki:CustomMenu/Header</code>.
'''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 <code>MediaWiki:CustomMenu/Header</code>.


Syntax:  
Syntax:  


<pre>* html ID (has to be unique) | target page | label (optional)</pre>
<pre>target page {{!}} label</pre>
 
The [https://www.w3schools.com/html/html_id.asp html ID] can be used to apply CSS rules in <code>MediaWiki:Common.css</code>.
 
 
'''Examples:'''
 
1. A link to the Wiki page 'Intranet':
 
<pre>* menuLink1 | Intranet</pre>
 
 
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':


<pre>* menuLink1 | Intranet | Our Intranet</pre>


 
'''Example:'''
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':


<pre>
<pre>
  * Hello World   
  * Hello World   
** menuLink1 | Intranet | Our Intranet   
** Intranet {{!}} Our Intranet   
** demoLink | https://en.demo.bluespice.com | Demo
** https://en.demo.bluespice.com {{!}} Demo
</pre>
</pre>


BlueSpiceCustomMenu will be hidden on mobile devices. The width is restricted to the content width. It is limited to one line.
''BlueSpiceCustomMenu'' will be hidden on mobile devices. The width is restricted to the content width. It is limited to one line.
 
|desc=Provides customizable menus
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.
}}
 
{{wcagCheck
|wcagStatus=2-testing complete
|wcagCheckedfor=Web, Authoring tool
|wcagTestdate=2022-08-05
|wcagLevel=AA
|wcagSupport=supports
|wcagComments=*Authoring: Authoring in Wikitext
*Web: Simple links lists with accessible headings
|extensionType=core
|extensionFocus=reader
}}
}}

Latest revision as of 10:51, 7 June 2024

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 cloud 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:

target page {{!}} label


Example:

 * Hello World  
** Intranet {{!}} Our Intranet  
** 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.

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

Accessibility

Test status: 2-testing complete
Checked for: Web, Authoring tool
Last test date: 2022-08-05
WCAG level: AA
WCAG support: supports
Comments:
  • Authoring: Authoring in Wikitext
  • Web: Simple links lists with accessible headings
Extension type: core
Extension focus: reader