How are this button links at every page from Atlasssian created?

Here is my example:

Bildschirmfoto 2015-01-12 um 00.00.35.png

2 answers

1 accepted

Atlassian are using the Documentation Theme here. Notice that the images/buttons are below the like section, so it's been added into the footer.

This is possible in the Documentation theme. Create a page with the content somewhere hidden from view (e.g. at the same level in the hierarchy as the home page).

In space admin, configure the documentation theme and add an include page macro that points to the "hidden" page:
https://confluence.atlassian.com/display/DOC/Include+Page+Macro 

The page they are including in your example is this one:
https://confluence.atlassian.com/display/SERVICEDESK/_Documentation+Footer 

That page is using a custom macro or user macro to build the buttons "documentation footer for service desk":
https://confluence.atlassian.com/plugins/viewsource/viewpagesrc.action?pageId=408453915 

Great! Is there a way to get that macro you mentioned in the last line?

Probably they have the button images with links on a hidden page (at the root of the doc tree - so no show in TOC) and have excerpt macro applied to it. 

https://confluence.atlassian.com/display/DOC/Excerpt+Macro

Then on the general doc page template (used for all pages), they use the excerpt include macro to display in each page. 

https://confluence.atlassian.com/display/DOC/Excerpt+Include+Macro

To do the links with an image (or button in this case), see this. 

https://confluence.atlassian.com/display/DOC/Working+with+Links 

 

My first thought was that it is somehow implemented via wiki markup in the global template. Could this be true? Or is it only allowed for announcements?

Nah, wiki-markup is not required. Just create a page called _buttons. Create the buttons and links in that page. Wrap the buttons content with an excerpt macro. Put the page at the root of your space (so does not show in your lefthand toc). Now in another page where you want those buttons (template or not), use the excerpt include macro. Hope this helps.

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 yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

107 views 3 3
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