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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

194 views 18 7
Join discussion

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