Hello,
I'd like to hide the Page Information option under Tools from Anonymous users. Does anyone know how to do that?
Thanks!
Hi,
In that case then you just need to find the ID of the specific item in the tools menu you want to hide.
Example:
AJS.toInit(function(){
if
(AJS.params.remoteUser ==
''
){
AJS.$(
'#view-attachments-link'
).hide();
AJS.$(
'#action-view-history-link'
).hide();
}
});
If you are using chrome, just highlight the link, right click and select "Inspect Element" to find the ID of that specific link. When you have the ID just add it to the list of things being hidden inside the if statement above.
Thanks for the quick response. I actually found those two pages during my initial search for an answer. But I am specifically looking to hide Page Information. I don't want to hide the Tools menu entirely since it contains options that I want anonymous users to have access to. I'm wondering if there is a way to hide options within the Tools menu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried using Javascript and css?
Here are two links that should help you achieve what you are looking for:
https://confluence.atlassian.com/pages/viewpage.action?pageId=697139365
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.