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?
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just the bits you want to change. if this is in lots of places, you can add lots of "if..else..end" statements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.