No edit summary
No edit summary
Line 1: Line 1:
== Introduction ==
== Introduction ==
The menu editor is used in various menus of the wiki ― for example in the [[Manual:Extension/BlueSpiceDiscovery/Main navigation|main navigation]] ― to set up navigation links. An edit link appears at the end of each menu when you focus on the menu.
The menu editor is used in various menus of the wiki ― for example in the [[Manual:Extension/BlueSpiceDiscovery/Main navigation|main navigation]] ― to set up navigation links. An edit link appears at the end of each menu when you hover over the menu.


[[File:MenuEditor edit link.png|alt=menu items and activated edit link of the main navigation|center|thumb|201x201px|"Edit"-link of the menu editor]]
[[File:MenuEditor edit link.png|alt=menu items and activated edit link of the main navigation|center|thumb|201x201px|"Edit"-link of the menu editor]]Alternatively you can also open the MediaWiki page corresponding to the navigation or menu to edit


== Editing navigation and menus ==
If the page doesn't yet exist, a corresponding note will appear and you can create the page.[[File:menuEditor menu does not exist.png|alt=Note for the initial creation of the sidebar page|center|thumb|650x650px|Seite ''MediaWiki:Sidebar'' anlegen.]]
 
== Edit main navigation ==
If you have set the navigation type to ''MediaWiki Sidebar'' or ''Extended MediaWiki Sidebar'' on the [[Manual:Extension/BlueSpiceDiscovery/Main navigation|main navigation]] , the navigation links are created using the menu editor.
If you have set the navigation type to ''MediaWiki Sidebar'' or ''Extended MediaWiki Sidebar'' on the [[Manual:Extension/BlueSpiceDiscovery/Main navigation|main navigation]] , the navigation links are created using the menu editor.
=== Opening the menu editor: ===
# '''Click''' ''Edit'' at the end of the navigation or menu you want to edit.
## This link will become visible when you hover over existing links.
## Alternatively you can also open the MediaWiki page corresponding to the navigation or menu to edit
# If the page doesn't yet exist, a corresponding note will appear and you can create the page.
[[File:menuEditor menu does not exist.png|alt=Note for the initial creation of the sidebar page|center|thumb|650x650px|Seite ''MediaWiki:Sidebar'' anlegen.]]


=== Editing the default links ===
=== Editing the default links ===
A new wiki already has some links created by default. These are displayed as system messages and reference pages with the same name in the MediaWiki namespace (to support the user languages). The entire menu or individual menu links can be deleted.
A new wiki already has some links created by default. These are displayed as system messages and reference pages with the same name in the MediaWiki namespace (to support the user languages). The entire menu or individual menu links can be deleted.
[[File:MenuEditor getting started links.png|alt=View of the standard links system messages in edit mode|center|thumb|650x650px|The default links in the "Getting started" menu]]
[[File:MenuEditor getting started links.png|alt=View of the standard links system messages in edit mode|center|thumb|650x650px|The default links in the "Getting started" menu]]
== Edit other menus ==
The following menus are also edited with the menu editor:
* [[Manual:Extension/BlueSpiceUserSidebar|Personal user menu]]
* [[Manual:Extension/BlueSpiceCustomMenu|Additional menu]]
* [[Manual:Extension/BlueSpiceDiscovery/Footer|Footer menu]]


=== Visual editing mode ===
=== Visual editing mode ===

Revision as of 08:06, 20 June 2025

Introduction

The menu editor is used in various menus of the wiki ― for example in the main navigation ― to set up navigation links. An edit link appears at the end of each menu when you hover over the menu.

menu items and activated edit link of the main navigation
"Edit"-link of the menu editor

Alternatively you can also open the MediaWiki page corresponding to the navigation or menu to edit If the page doesn't yet exist, a corresponding note will appear and you can create the page.

Note for the initial creation of the sidebar page
Seite MediaWiki:Sidebar anlegen.

Edit main navigation

If you have set the navigation type to MediaWiki Sidebar or Extended MediaWiki Sidebar on the main navigation , the navigation links are created using the menu editor.

Editing the default links

A new wiki already has some links created by default. These are displayed as system messages and reference pages with the same name in the MediaWiki namespace (to support the user languages). The entire menu or individual menu links can be deleted.

View of the standard links system messages in edit mode
The default links in the "Getting started" menu

Edit other menus

The following menus are also edited with the menu editor:

Visual editing mode

Click Edit to switch to edit mode.

To add a new menu heading:

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


Source editing mode

Click Edit source to switch to source edit mode.

Entries starting with a single star ("*") create menu headings or sections while entries with two stars ("**") create links.

* Bookmarks
** Wiki_Page1|Label
** https://externallink.com|Label

Show for groups

In addition, the visibility of a menu item can be limited to certain wiki groups. Enter a comma-separated list of existing wiki groups in the "Show for groups" field.

Css classes

You can also apply css classes to any item for custom styling options. The styles need to be defined on the page MediaWiki:Common.css.



PDF exclude - start

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

PDF exclude - end