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 "system.top.navigation.bar":
<web-section name="mySection" i18n-name-key="my-section.name" key="my-section" location="my-item-link" weight="1000"> <description key="my-section.description">The mySection Plugin</description> </web-section> <web-item name="myItem" i18n-name-key="my-item.name" key="my-item" section="system.top.navigation.bar" weight="1000"> <description key="my-item.description">The myItem Plugin</description> <label key="TeamBank-Hilfe"/> <link linkId="my-item-link"/> </web-item>
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:
confluencemenu.PNG
Community moderators have prevented the ability to post new answers.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Never did it. Actually wanted to add a menu with sub-menus once but re-designed when found that it's not supported.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.