Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to add a menu to top navigation in Confluence?

I would like to add a new dropdown menue to the header of confluence, but can't find the right solution. in JIRA it works without problems, as I can set the location to "":

<web-section name="mySection" i18n-name-key="" key="my-section" location="my-item-link" weight="1000">
    <description key="my-section.description">The mySection Plugin</description>
  <web-item name="myItem" i18n-name-key="" key="my-item" section="" weight="1000">
    <description key="my-item.description">The myItem Plugin</description>
    <label key="TeamBank-Hilfe"/>
    <link linkId="my-item-link"/>

Is there an equivalent to this in confluence? I already tried to set "system.header/left" for location, but it will only display the very first item and not the dropdown menu. I want to avoid jQuery/JavaScript and manage this problem just by editing the atlassian-plugin.xml.

This is an example what it should look like:


1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted

You will be surprised but it's not supported in Confluence. JavaScript tricks is the only way.

Do you have a simple JavaScript code, which contains the structure of the drop down menu? So I can try to modify it for my purposes.

Never did it. Actually wanted to add a menu with sub-menus once but re-designed when found that it's not supported.


Atlassian Community Events