Is it possible to hide user (Name, Avatar etc.) in the public area of the wiki

In the public area of our Wiki, everbody can see the editor of an post. Is it possible to hide this?

1 answer

The easiest way I can think of would be to hide it with javascript. However, anybody with a little bit of HTML DOM and CSS knowledge will be able to find the editor. For example, add this in the Confluence header as javascript:

AJS.$(document).ready(function(){
	//if the login-link id exists (i.e. not logged in), hide the editor
	if(AJS.$("#login-link")){
		AJS.$("div.page-metadata").hide();
	}
});

How can I change the sourcecode of the site? Can thios all be done within the CSS?

You can do this at the Administration Section -> Look and Feel -> Custom HTML -> at the end of BODY and add:

<script type="text/javascript">
AJS.$(document).ready(function(){
    //if the login-link id exists (i.e. not logged in), hide the editor
    if(AJS.$("#login-link")){
        AJS.$("div.page-metadata").hide();
    }
});
</script>

Thanks, our system is localized in german and I'm not able to find "Look and Feel -> Custom HTML". IJust can find the design or the coloreditor. Do you know how the section is called in german?

In that case you can do it at Durchsuchen -> Confluence Admin ->Gestaltung -> Kundenspezifische HTML -> Am Ende des HAUPTTEXTES :)

We / I got no such entry (see atached file)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

86 views 0 11
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you