The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How do you change the default text on the Page Not Found/Not Permitted?

Christ Christ
January 28, 2012

We have certain areas that are restricted in our Confluence site. At times, the link to a restricted page appears on a parent / navigation page. If a user who doesn't have access clicks the link, the user gets a Page Not Found error. We would like to edit the default text on that page to explain that the page exists but the user does not have permission to view it. If the user requires permission, they must contact "so and so" to obtain access.

Does anyone know of a way to do this?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
David at David Simpson Apps
Atlassian Partner
January 28, 2012
Christ Christ
February 12, 2012

Thanks, David. We just launched Confluence for our company and left the default text. When we have some time, I will have the team try out your suggestion.

0 votes
David at David Simpson Apps
Atlassian Partner
January 29, 2012

Browse to Confluence Admin | Look & Feel | Custom HTML

In At the end of the HEAD paste:

<script>
  AJS.toInit(function(){
    AJS.$('body.login').find('a[href$="language=en_GB"]').text('English (British)');
  });
</script>

TAGS
AUG Leaders

Atlassian Community Events