It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence: How to add a anonymous / public access startpage?

Hi there,

we are not using anonymous / public access to our confluence and login is granted only by our staff.

Now I'd like to display a page for persons that access our confluence URL and are not logged in, containing some hints on how to apply for an user account. In addition, I'd like that site only to appear for anonymous users/visitors.

In JIRA this is possible via the "System Dashboard" which is also displayed for anonymous / public access. Does Confluence offer a similar functionality or a work-around? I haven't found anything in the documentation or the answers.

If you tell me that I have to manually "build" a site with public access and no access for the group "confluence-users" that would be fine, I am just wondering if there is a smarter solution to this wink

Thanks in advance and kind regards

Hendrik

5 answers

1 accepted

0 votes
Answer accepted

sigh Sometimes one doesn't see the simple solution, even if it is right in front of him.

The page I wanted to change is the "Overview"-Page for uncategorized spaces, which is the only site anonymous visitors can see. I simply edited that page and made from it an adequate startpage for everyone (welcome-text for newcomers and login link for the registered users).

We are using the RefinedWiki Original Theme, not sure if that has any influence to the above mentioned.

Thanks again everybody, for me this question is answered...

 

Hi

You can customize the dashboard page in the administration console / Layouts / Global layout. And add this code:

#if ($helper.action.remoteUser)
 <dashboard for logged in users>
#else
<dashboard for anonymous users>
#end

You keep the dashboard code for the logged in users and you customize the code for the anonymous users.

This is also great for hiding headers etc for anonymous users.

Space Tools / Look and Feel / Layout / Main Layout / Edit

Search for:

#parse("/decorators/includes/common-header.vm")

Replace with:

#if ($helper.action.remoteUser)
  #parse("/decorators/includes/common-header.vm")
#else
  <!-- whatever you want to stuff in here -->
#end

Hi @Hendrik Weißenberg

I am not aware of any method other than the "build" a site with only public access. So would also be interested to hear if anyone else has another solution.

Phill

You could add a space which is open to anonymous users. Set access in Space Permissions for this space (Browse > Space Admin > Permissions). Then set this space as the default landing page by going to admin settings > Further Configuration.

image2016-1-15 9:16:27.png

Hey everybody,

thanks for sharing your ideas.

@Adrian Reid That was also my first impulse, but our default startpage is already a diffenrent one :-/

@tsez I have tried to find out how to implement your code, but haven't succeeded yet. It tells me that I have to deactivate the Design in order to customize the layout like you said. I beleive I cant't do that during working hours wink

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,947 views 15 38
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you