I'm using confluence for public product documentation
I would like to make following changes for Anonimous users:
# Remove Tools menu (on pages) alltogether
# Remove Browse menu on top
# Remove Added by.. Edited by.. Change line alltogether from pages
# Modify breadcrumb on top so it shows my space as a root - no Dashboard link.
How would I do this? I guess this is kind of obvious thing but can't figure out how to do this.
You can use a pagetree macro that provides side navigation, if that's the only reason you're using the doc theme. I almost used that theme, but after playing with it for a while, I found out I could replicate what the doc theme does, plus I can customize it without worrying about what limitations the theme sets on me.
If your intent on using the doc theme, I'll have to defer to someone else to see if they know how to modify some of the layouts.
These are many of the same tasks we've done as we are building out our site in Confluence but making it very non-Confluence like. None of it is very obvious, so you came to the right place. :)
To remove tools menu so that it only shows up for users who have edit permissions, wrap the content-navigation.vm in a permission check:
#if ($permissionHelper.canAdminister($action.remoteUser, $space))
To modify the breadcrumbs:
Use jQuery to remove the redundant home page names by editing the Custom HTML in the Admin panel:
To modify the metadata ("Added/edited by..."), I use some customized markup in the page layout decorator:
#set ($lastModder = $confPage.getLastModifierName())
#set ($lastModDate = $confPage.getLastModificationDate())
<li class="page-metadata-item noprint">
<li class="page-metadata-modification-info">Last edited by $lastModder on $lastModDate</li>
I'm very new to modyfing, sorry for obvious questions. For removing "Tools"
I went to Confluence Admin -> Look and Feel -> Layouts and modified Page Layout
## Added wrapped into check for logged in user #if ($permissionHelper.canAdminister($action.remoteUser, $space)) #if ($mode != "edit" && $mode != "edit-preview") #parse ("/decorators/includes/content-navigation.vm") #end #end
Doesn't seem like it worked, I still see Tools menu when logged out Did I do it wrong?
I use Documentation template, does it matter?
Oh, that's possible. I don't use any themes (I found they can be pretty restricting when it comes to low-level modifications). Be aware that you can only see the difference, of course, when you are logged out (or logged in as a user without edit permissions).
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs