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

Customizing Confluence Dashboard (logged in vs logged out)

Is there any easy way to add an IF statement to the Confluence dashboard such that a logged in user sees a different set of buttons vs a logged out user?

1 answer

Browse to Confluence Admin | Look & Feel | Layouts

Edit the Global Decorator with something like this:

#if($action.authenticatedUser)
  ## logged in user logic/buttons etc
#else
  ## anon user
#end

Between the if and then the else statement, do I have to reproduce all the elements from the code between <!---General Page Decorating Begins --> and <! -- ends>? or just those buttons I'd like to modify?

Just the bits you want to change. if this is in lots of places, you can add lots of "if..else..end" statements

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

102 views 0 3
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