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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 3 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

38 views 2 3
Read article

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