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

0 votes
Accepted answer

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:

If you are using a custom theme please follow these steps:

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
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,709 views 3 11
Read article

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