How to reproduce the Documentation theme "custom-top-menu" in the Global theme?

Some of our wikis use the Documentation theme with a 'customized' top menu:

1) accessible via this url: <domain-name> /wikis/display/ <keyspace> /custom-top-menu

2) displayed by this div:

<div id-"custom-top-menu"></div>

 

To change correctly the Documentation theme to the Global theme, how is it possible to keep this custom top menu?

1 answer

1 accepted

This widget could not be displayed.
Davin Studer Community Champion Jul 13, 2016

First off the "Global Theme" is simply the theme that is select in Confluence Admin as your default theme for a space unless overridden. With a base Confluence install you have two themes available Documentation, and Default. So, I believe you are asking how to the get this custom menu into the "Default theme". To do that you would need to edit the theme decorators, which are under Confluence Admin -> Look and Feel -> Layouts.

Thanks Davin for your feedback.

Indeed, it seems that the only way is to customize the 'Main Layout' in the wiki space administration.

So, I've added some HTML code in this 'Main Layout' template. However, this is now "hard coded" instead of referring to an external file like with the Documentation theme.

Would it be possible to call this external file?

Davin Studer Community Champion Jul 14, 2016

You can use the below syntax.

#parse ("/path/to/file.vm")

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

475 views 6 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