Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deleted user January 11, 2015

Here is my example:

Bildschirmfoto 2015-01-12 um 00.00.35.png

2 answers

1 accepted

1 vote
Answer accepted
David Simpson • AppFusions • v3
Contributor
January 14, 2015

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 

Deleted user February 16, 2015

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

2 votes
Justin Justin
Contributor
January 11, 2015

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 

 

Deleted user January 12, 2015

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?

Justin Justin
Contributor
January 12, 2015

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
TAGS
AUG Leaders

Atlassian Community Events