Removing the Spaces link in Confluence 5.1

Hello,

Several years ago I asked this question: https://answers.atlassian.com/questions/13007/removing-log-in-from-a-space-in-confluence-4

The answer given works as expected, but now I need to remove the Spaces link from a Space in the same manner. I'm trying to use the exact same script, but I don't know what the "name" for the Spaces link would be. Where would I find that name?

Additionally, if anyone knows a different way to do this, I'd be glad to hear about it. I'm trying to lock down a specific customer-facing Space so that our users aren't provided with options to log in, browse the system, or go to a page listing all the Spaces (which will also present them with Log in and Browse).

Thanks,
Alan

1 answer

1 accepted

1 vote
Accepted answer

The name/id of the space link is space-directory-link. So you would add the JS like the following:

AJS.$('#space-directory-link').parent().hide();

Related links:

Thank you Amalia, that worked. And thanks for the links to the CSS and JS documentation.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,108 views 17 14
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