Manual:Extension/BlueSpiceDiscovery/Main navigation: Difference between revisions

No edit summary
No edit summary
Line 9: Line 9:
'''To add a new menu header using the menu editor:'''
'''To add a new menu header using the menu editor:'''


#'''Click''' ''edit sidebar'' at the bottom of the navigation menu. the page ''MediaWiki:Sidebar'' from the browser address bar. If the page does not exist yet, you will see a notice on the page.[[Datei:Handbuch:sidebar-anlegen.png|alternativtext=Seite MediaWiki:Sidebar anlegen|zentriert|mini|650x650px|Seite ''MediaWiki:Sidebar'' anlegen: (1) Meldung, (2) Bearbeiten-Schaltfläche]]
#'''Click''' ''edit sidebar'' at the bottom of the navigation menu. the page ''MediaWiki:Sidebar'' from the browser address bar. If the page does not exist yet, you will see a notice on the page.
#'''Click''' ''Add new element'' to create a new menu header.
#'''Click''' ''Add new element'' to create a new menu header.
#. [[Datei:Handbuch:sidebar-neues stammelement.png|alternativtext=Neues Stammelement|zentriert|mini|650x650px|Neues Stammelement]]
#'''Enter''' the text for your menu header. In a multilingual wiki, you can also enter a [[mediawikiwiki:Help:System_message|message key]].
#'''Enter''' the text for your menu header. In a multilingual wiki, you can also enter a [[mediawikiwiki:Help:System_message|message key]]. [[Datei:Handbuch:sidebar-stammelement-dialog.png|alternativtext=Text eingeben|zentriert|mini|650x650px|Text eingeben]]


#
<span><br /></span>
'''To add links:'''
'''To add links:'''


Line 25: Line 24:
#
#


<span><span /><span /><br /></span> '''To add new links:'''
<span><span /><span /><span /><br /></span> '''To add new links:'''


#'''Click'''  ''edit sidebar'' below the navigation links.
#'''Click'''  ''edit sidebar'' below the navigation links.
Line 44: Line 43:
The standard links can be deactivated in the  [[Manual:Extension/BlueSpiceConfigManager|configuration manager]]. The following settings are available under ''Feature > Skinning'':
The standard links can be deactivated in the  [[Manual:Extension/BlueSpiceConfigManager|configuration manager]]. The following settings are available under ''Feature > Skinning'':


<span><span /><span /><br /></span>
<span><span /><span /><span /><br /></span>
BlueSpiceBookshelf:
BlueSpiceBookshelf:


Line 61: Line 60:
BlueSpiceSocialBlog:
BlueSpiceSocialBlog:


*Show entrypoint "Blog"
* Show entrypoint "Blog"


==Group-specific navigation==
==Group-specific navigation==
Line 73: Line 72:
</syntaxhighlight>
</syntaxhighlight>


==Additional customizations==
==Additional customizations ==


*[[Manual:Extension/BlueSpiceDiscovery/Main navigation/Icons|Display icons with navigation links]]
*[[Manual:Extension/BlueSpiceDiscovery/Main navigation/Icons|Display icons with navigation links]]
*[[Manual:Extension/BlueSpiceDiscovery/Main navigation/Language support|Multi-language navigation]]
*[[Manual:Extension/BlueSpiceDiscovery/Main navigation/Language support|Multi-language navigation]]


<span /><span /><span /><br />
<span /><span /><span /><span /><br />
[[Category:Administration]]
[[Category:Administration]]
[[Category:Customization]]
[[Category:Customization]]

Revision as of 16:57, 7 November 2022

How does the main navigation work?

By default, some links are provided as entry points to the wiki. Wiki administrators can deactivate these links in the configuration manager if needed. In addition, you can also add new links below the entrypoints (admin permissions required). Please note that no hierarchical links can be created. Therefore, it makes sense to mainly set up links to the most important topics and to portal pages that contain additional links or page lists.

Main navigation
Main navigation

Visual edit mode (menu editor)

Visual menu editor is available from BlueSpice 4.2.

To add a new menu header using the menu editor:

  1. Click edit sidebar at the bottom of the navigation menu. the page MediaWiki:Sidebar from the browser address bar. If the page does not exist yet, you will see a notice on the page.
  2. Click Add new element to create a new menu header.
  3. Enter the text for your menu header. In a multilingual wiki, you can also enter a message key.


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.


To add new links:

  1. Click edit sidebar below the navigation links.
  2. Change to source editing mode.
  3. 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
    
  4. Save the page. The links are now shown in the main navigation.
Note:As soon as you have created at least one additional link, a direct edit link to the MediaWiki:Sidebar page is displayed when you move the mouse over such a link (see screenshot above).


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;

Deactivating standard links

The standard links can be deactivated in the configuration manager. The following settings are available under Feature > Skinning:


BlueSpiceBookshelf:

  • Show entrypoint "Bookshelf"

BlueSpiceDiscovery:

  • Show entrypoint "Mainpage"
  • Show entrypoint "All pages"
  • Show entrypoint "Recent changes"

BlueSpiceSocial:

  • Show entrypoint "Timeline"

BlueSpiceSocialBlog:

  • Show entrypoint "Blog"

Group-specific navigation

It is possible to show navigation elements for specific user groups only. Please note that the pipe symbol (|) between the page name and its label has to be escaped as {{!}} within this function.

This syntax is defined in the extension UserFunctions.

{{#ifingroup:sysop,widgeteditor |
*Test2                       
**somepage{{!}}Some page
|}}

Additional customizations





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

Discussions