hiding the people directory

Vitaly Lyashchuk December 27, 2011

Hi,
I try to hide the people directory following this manual
http://confluence.atlassian.com/display/DOC/Hiding+the+People+Directory

But I cannot find necessary lines in global.vmd file. Maybe this manual not actualized for confluence 3.5.4?
How to edit the global.vmd for my confluence instance?

3 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 27, 2011

Why are you looking in global.vmd if you've got Confluence 3.5?

The document clearly states that editing the global.vmd is "Procedure for Confluence 2.5.2 to 2.9.x. only"

Try the setting in the properties file as it says.


0 votes
Chris Ewe May 16, 2013

Another question for me is, how I can create my own menu insteat of "People" and "Spaces"??
I found the code block.

Do anybody know how to add them?

Regards, Chris

Dmitry October 7, 2020

You can use web-item in atlassian-plugin.xml:

<web-item key="my-own-menu-link" section="system.header/left" weight="60">
<description key="my-own-menu-description">Simple link to my-own-menu.</description>
<label key="MyOwnMenu"/>
<link linkId="my-own-menu-link">/</link>
</web-item>

 

0 votes
Sandro Herrmann [Communardo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2011

Why don't you simply add a little stylesheet snippet to your global administration -> Stylesheets section

#people-directory-link,
#dashboard-people-directory-link {
    display:none;
}

This will remove the people directory link from the dashboard and from the global menu.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 29, 2011

Because you can easily bypass that, there are links in other places, and there is a documented way of doing it properly.

Vitaly Lyashchuk January 1, 2012

As far as I understand there is no any other solution?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2012

There are two ways to do it discussed here. Sandro's tweak will remove the link, but not prevent people getting to the directory in other ways. The better way to do it is in the documentation you originially read (and picked up the wrong part of)

Vitaly Lyashchuk January 1, 2012

Do you mean part of apache redirection? I did redirect:

<LocationMatch /confluence/browsepeople.action>

Redirect / http://domain.com/<br< a=""> /> </LocationMatch>

But when I go to the people directory link, I get a wrong url "http://domain.com/confluence/browsepeople.action?startIndex=0"

So I cannot understand where from I getting additional string "confluence/browsepeople.action?startIndex=0""

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2012

Apologies, I mean the documentation contains TWO simple, clear and effective ways to do it.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2012

Argh. Why are you messing with apache and redirection now? The documentation contains a simple, clear and effective way to do this, and you haven't even tried it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events