How to make non-active Confluence logo button?


I need to make Conlfuence logo button (picture is enclosed) non-active for Confluence user, I need to make it active only for administrator, can I do this?FeatTour_CQ_WhyQuestions-04_812x383.png

2 answers

1 accepted

This widget could not be displayed.
Davin Studer Community Champion Oct 08, 2014

You could put some javascript in the Custom HTML section of Confluence Admin to unlink it on page load.

<script type="text/javascript">
	if(AJS.Meta.get('is-confluence-admin') != "true") {
		AJS.$('#logo a').attr('href', '#');

Thank You, Davin!

This widget could not be displayed.

You'll have to hack the theme or core code to do that.  (Not sure why you'd want to either, all it does is take the user to the standard home page, which can be useful)

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
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

57 views 8 4
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