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

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
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
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

976 views 23 13
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