Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

hiding the people directory

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

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.


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.

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

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

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)

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""

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

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.

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

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>

 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

78 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you