Difference between revisions of "Manual:Extension/BlueSpiceCustomMenu"

Tag: 2017 source edit
Line 7: Line 7:
 
'''To create the menu :'''
 
'''To create the menu :'''
 
#'''Open''' the page <code>MediaWiki:CustomMenu/Header</code>.
 
#'''Open''' the page <code>MediaWiki:CustomMenu/Header</code>.
#'''Add''' the links. Headings for link groups are marked with a single asterisk (*), associated links with two asterisks (**).
+
#'''Create''' the first menu header. Menu headers are marked with a single asterisk (*);<syntaxhighlight lang="text">
After the custom menu has been created, it can now be modified directly via the ''Edit menu'' link.
+
* Important pages
 
+
</syntaxhighlight>
 +
#'''Add''' the links for this menu header. Links are marked with two asterisks (**) and have the following syntax:<syntaxhighlight lang="text">
 +
** unique ID|target page|label
 +
</syntaxhighlight>
 
'''Example:'''<pre>* Important pages
 
'''Example:'''<pre>* Important pages
 
** Blog|Special:Blog
 
** Blog|Special:Blog
Line 16: Line 19:
 
** BlueSpice Homepage|https://bluespice.com/
 
** BlueSpice Homepage|https://bluespice.com/
 
** News|https://bluespice.com/category/news-know-how/</pre>
 
** News|https://bluespice.com/category/news-know-how/</pre>
In the link syntax, the label precedes the link. The following example links to the page "IMS:Policies" and displays the label "Policies":
+
After the custom menu has been created, it can now be modified directly via the ''Edit menu'' link (see screenshot above).
<pre>* Policies|IMS:Policies</pre>
 
 
==Delete the custom menu==
 
==Delete the custom menu==
 
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.
 
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.

Revision as of 13:12, 24 February 2022

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.

Create the custom menu[edit | edit source]

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


To create the menu :

  1. Open the page MediaWiki:CustomMenu/Header.
  2. Create the first menu header. Menu headers are marked with a single asterisk (*);
    * Important pages
    
  3. Add the links for this menu header. Links are marked with two asterisks (**) and have the following syntax:
    ** unique ID|target page|label
    

Example:

* Important pages
** Blog|Special:Blog
** Policies|IMS:Policies
* BlueSpice
** BlueSpice Homepage|https://bluespice.com/
** News|https://bluespice.com/category/news-know-how/

After the custom menu has been created, it can now be modified directly via the Edit menu link (see screenshot above).

Delete the custom menu[edit | edit source]

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

Discussions