It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to add new links in the Confluence help drop down menu?

Velizar Borisov Oct 27, 2014

Is it possible to add new links in the Confluence help menu? I read that it's possible to do this in JIRA , but I didn't see anything about Confluence. And if it's possible what should I change? 

Thanks in advance! 

1 answer

1 vote
Stephen Deutsch Oct 28, 2014

You can use this code, it works for us in Confluence 5.4, but should be compatible with later versions.  Versions before 5.2 might need a little different code.

<script>
    AJS.toInit(function(){
    AJS.$('.aui-header-primary ul.aui-nav').append('<li id="linkMenu" role="menu"><a id="link-menu" class="aui-nav-link aui-dropdown2-trigger" href="#" aria-haspopup="true" aria-owns="link-menu-link-content" title="HEADING GOES HERE"><span class="browse">HEADING GOES HERE</span><span class="aui-icon-dropdown"></span></a><nav id="link-menu-link-content" class="aui-dropdown2 aui-style-default aui-dropdown2-in-header" aria-hidden="true"><div class="aui-dropdown2-section"><ul id="link-menu-global" class="aui-list-truncate section-leading first"></ul></div></nav></li>');
    AJS.$('#link-menu-global').append('<li><a href="https://YOUR_LINK_HERE"><span>LINK TEXT GOES HERE</span></a></li>');
    AJS.$('#link-menu-global').append('<li><a href="https://YOUR_LINK_HERE"><span>LINK TEXT GOES HERE</span></a></li>');
	AJS.$('#link-menu-global').append('<li><a href="https://YOUR_LINK_HERE"><span>LINK TEXT GOES HERE</span></a></li>');
    });
</script>

Just fill in the blanks (the text in caps) and put it in Custom HTML at the end of the HEAD.

Velizar Borisov Oct 28, 2014

This code adds another drop down menu next to the "Create" button and it's awesome. But it's not what I need. I need to add a link in the help menu (under the question mark).

Geoff Wilson Sep 21, 2016

This was exactly the type of thing i was looking for, that true doesn't answer the OP's question, but awesome for adding my own menus without having to pay $2000 for a friggin plugin doing the same thing!.  Thanks

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

964 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you