Manual:Extension/BlueSpiceCustomMenu and Manual:Extension/MenuEditor: Difference between pages

(Difference between pages)
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:Custom menu}}
{{BSVersionHd|bsvFrom=4.3|bsvTo=}}
==Overview==
In BlueSpice 4, an additional custom menu is integrated as a mega menu. This menu can be created and edited by users with admin rights. The link-icon (1) is only displayed once the corresponding page has been created.


If you don't see the menu icon in your wiki, create the following page: <span style="color: rgb(37, 37, 37); font-family: monospace, Courier; font-size: 13.125px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(233, 233, 238); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">MediaWiki:CustomMenu/Header</span>
== Menu types ==
The user interface provides 3 customizable menus:


[[File:Manual:customMenu-view-EN.png|alt=Custom menu screenshot|center|thumb|750x750px|Custom menu: (1) open menu, (2) edit link, (3) menu items]]
# Main navigation
# Custom menu
# User menu


==Menu editor==
== Main navigation ==
{{#dpl: title=Manual:Extension/BlueSpiceDiscovery/Main_navigation|include=#Menu editor}}
The main navigation is displayed on all content pages in the wiki and does not change in individual namespaces.


==Source edit mode==
Up to v.4.2, only the standard [[Pagedraft:MenuEditor#MediaWiki sidebar|MediaWiki sidebar]] is available.
{{#dpl: title=Manual:Extension/BlueSpiceDiscovery/Main_navigation|include=#Source edit mode}}


==Delete the custom menu==
=== BlueSpice 4.3 ===
To remove the custom menu link-icon from the wiki, the <code>MediaWiki:CustomMenu/Header</code> page must be deleted. The page can be restored via the deletion log.
Starting BlueSpice 4.3, four different menu settings are available. Administrators can select a menu type in the [[Manual:Extension/BlueSpiceDiscovery|Config manager]].
{{Box Links-en|Topic1=[[Manual:Extension/BlueSpiceDiscovery/Main_navigation|Customize the main navigation]]|Topic2=[[Manual:Extension/BlueSpiceUserSidebar|Customize the user menu]]}}
 
{{Translation}}
All four types optionally show a list of pre-defined Entry points.
[[Category:Customization]]
 
==== MediaWiki sidebar ====
This is the standard view of the sidebar.  It displays custom menu items with no hierarchical structure.
 
==== Namespace main page list ====
This view automatically displays the Main Page of each content namespace.
 
* No combination with other menu elements is possible.
 
==== Subpage tree (context-sensitive) ====
This view automatically shows the subpages  of a page if that page has subpages. Multi-level subpages are supported.
 
* No combination with other menu elements is possible.
 
==== Enhanced MediaWiki sidebar ====
This view shows a fully customizable multi-hierarchical menu. It can consist of the following elements:
 
 
 
== Custom menu ==
{{Manual:Extension/BlueSpiceCustomMenu}}
 
== User menu ==

Revision as of 11:17, 20 March 2023


Menu types

The user interface provides 3 customizable menus:

  1. Main navigation
  2. Custom menu
  3. User menu

Main navigation

The main navigation is displayed on all content pages in the wiki and does not change in individual namespaces.

Up to v.4.2, only the standard MediaWiki sidebar is available.

BlueSpice 4.3

Starting BlueSpice 4.3, four different menu settings are available. Administrators can select a menu type in the Config manager.

All four types optionally show a list of pre-defined Entry points.

MediaWiki sidebar

This is the standard view of the sidebar. It displays custom menu items with no hierarchical structure.

Namespace main page list

This view automatically displays the Main Page of each content namespace.

  • No combination with other menu elements is possible.

Subpage tree (context-sensitive)

This view automatically shows the subpages of a page if that page has subpages. Multi-level subpages are supported.

  • No combination with other menu elements is possible.

Enhanced MediaWiki sidebar

This view shows a fully customizable multi-hierarchical menu. It can consist of the following elements:


Custom menu

Overview

In BlueSpice 4, an additional custom menu is integrated as a mega menu. This menu can be created and edited by users with admin rights. The link-icon (1) is only displayed once the corresponding page has been created.

If you don't see the menu icon in your wiki, create the following page: MediaWiki:CustomMenu/Header

Custom menu screenshot
Custom menu: (1) open menu, (2) edit link, (3) menu items

Menu editor

Visual menu editor is available from BlueSpice 4.2.


To add a new menu header using the menu editor:

  1. Click Add new element to create a new menu header.
    Add a new menu heading
    Add a new menu heading
  2. Enter the text for your menu header. In a multilingual wiki, you can also enter a message key.
    Enter a heading name
    Enter a heading name
  3. Click Done.

To add links:

  1. Select Add new subitem from the dropdown menu of the menu header.
    add a link
    add a link as a new subitem
  2. Enter the page name as the link target and the label that you want to show:
    enter link info
    enter link info
  3. Click Done.
  4. Repeat steps 1-3.
  5. Click Save changes.
Note:If you use the parser function {{#ifingroup:... to display navigation elements in the source code, you must always edit the main navigation in the source code. In visual editing mode, saving removes any parser function or semantic queries.


Source edit mode

To add new links:

  1. Change to source editing mode.
  2. Create one or more navigation links (with or without section heading). The following example shows a link to the page "Company" with the label "Our company" and an external link to the BlueSpice website with the label "Website". The links are grouped together under the section heading "Quicklinks":
    *Quicklinks
    **Company|Our company
    **https//www.bluespice.com/de|Website
    
  3. Save the page. The links are now shown in the main navigation.


Link labels may collide with system messages. If this is the case, simply append the HTML-code for an empty space to the description:

**Portal|Portal&#160;


Delete the custom menu

To remove the custom menu link-icon from the wiki, the MediaWiki:CustomMenu/Header page must be deleted. The page can be restored via the deletion log.

Related info

User menu



To submit feedback about this documentation, visit our community forum.

Discussions