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

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 Community Champion 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.

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).

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

667 views 21 11
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you