Page tree
Skip to end of metadata
Go to start of metadata


Linchpin Navigation Menus

Always keep the overview: A menu to provide structure and guide you quickly

See the documentation for your Release

Insert menu

Inserting menu via settings


Enable the Display navigation in header option to automatically insert the menu below the confluence application header.


Inserting menu via code snippet


If you like to include it anywhere else, disable the option, go to Layouts and edit the Main Layout.
Add the menu macro at the desired position (e.g., after the page header) as shown in the following code snippet:

 

$helper.renderConfluenceMacro("{display-menu}")

In newer Confluence versions the usage of this snippet will lead to warning logs from the velocity templates. These logs can be ignored because the rendering still works fine. But to be prepared for removal of the old confluence wiki markup you have to implement a custom helper, which has to render the macro in the following new storage format:

<ac:macro ac:name="display-menu"/>

Alternatively, you can insert the macro "Menu" into a page:

Inserting menu via macro (beta feature)

Alternatively, you can insert the macro "Menu" into a page. The menu will be displayed on the position the macro was inserted.

Please note that inserting the menu into any page will look a bit awkward; it's not the usual way to handle navigation menus anyway. But the macro comes in handy if you are using a theme for Confluence that lets you define elements for certain areas by putting macros in a certain configuration.

  • No labels

This content was last updated on 07/24/2019.

This content hasn't been updated in a while. That doesn't have to be a problem. Some of our pages live for years without becoming obsolete. Please click this link if you want us to update this page. Old content can be incorrect, misleading or outdated. Please get in contact with us via a form on this page, our live chat or via email with content@seibert-media.net if you are in doubt, have a question, suggestion, or want changes from us.