Question about Confluence SubSpace Plugin

I would like to have the Space Navigation (i.e. the menu on the top of the page) to show only some spaces, but no any child space. The idea is that when I create a new space and do not specify it's parent, this space won't show as a new entry in the menu. In other words I woud ike to show only the first level of a space hierachy in the Space Navigation Menu.

Is this somehow possible ?

Thanks in advance,

1 answer

1 accepted

Accepted Answer
0 votes

Hello Adolfo,

Thanks for your interest in our add-on.

It is possible to modify the parameters (e.g. "maxDepth=0") of the Subspace plugin menu bar, which is displayed at the top of the page. The exact way depends on the theme you use. If you are using the Confluence standard theme you can modify the behavior of the Subspace menue bar with the following steps:

1. Deactivate the option "Show subspace menu on each page" in the Subspace configuration in the global Confluence administration
2. Navigate to: Confluence global administration => "LOOK AND FEEL" => "Layouts": "Main Layout" => Create custom
3. Add the following code snippet below the line:
#parse("/decorators/includes/common-header.vm") in the textarea:

"$helper.renderConfluenceMacro("{subspaces:addlink=true|currentSpace=$spaceKey|maxDepth=0}")" (Without surrounding "...")

BTW: You can specify any configurable parameters (see:https://support.communardo.de/display/cssp/Userguide+Release+2.0#UserguideRelease2.0-Parameters)

If you are using a custom theme please follow these steps:https://support.communardo.de/display/cssp/Userguide+Release+2.0#UserguideRelease2.0-Spacenavigationbar)

I hope this helps to clarify your question.

Kind regards,

Communardo Support

Thanks, that worked.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,730 views 5 6
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