Forums

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

Create a Back button in a Confluence page

Leigh Stokes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 25, 2018

In order to help users navigate Confluence project pages, I would like to create a "back" button on the page that would return the user to the previous page s/he visited.

I have not been able to find this type of function from the Confluence tools.

How might I provide this type of navigation?

 

Thanks!

2 answers

1 vote
Deleted user May 25, 2018

Hi @Leigh Stokes,

Would the web browser's back page button not suffice (located in the top left corner of every web browser)?

Thanks

Leigh Stokes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2018

Thank you for taking time to write.

Although many users are accustomed to using the browser back button, in this case the user's attention is focused on the content in-page, so navigation that is located in-page will be the most usable.

Although a typical Confluence user may not encounter a usability issue with the lack of purposeful navigation, the audience for this particular content has varying technographic levels and is more likely to experience trouble.  Adoption is important, so I want to make the experience as frictionless as possible.

Is there a way to create a "back" button using Confluence tools?

Thanks for any workaround that would provide this.

Like Kelly Hall likes this
Michael Shaff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2018

I strongly agree with Leigh's perspective on this capability. It's great to have the browser back button, but we have no idea on how the user's browser is configured. Having a visually incorporated back button is very handy.

I found this thread by looking for the exact same functionality.

Thanks for any and all pointers to accomplishing this within the Confluence environment.

0 votes
Patrick Forssell August 30, 2018

This is potentially something you might not want to do. But since you asked for a workaround this is how I would do it:

Add a java script to "Custom HTML" -> "At the end of the BODY" section

<script>
AJS.$(document).ready(function(){
$(".aui-header-primary .aui-buttons").append("<button class='aui-button aui-button-primary' onclick='window.history.back()'>Back</button>");
});
</script>

 This should add a "Back" button next to "Create" button. At least in Default Theme.

Just a fair warning though nothing you put inside Custom HTML is supported and it can cause problems. Also when Atlassian does UI changes or updates the "menu" there is a chance this will not work and it will in fact cause something else not to work.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events