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

0 votes
Accepted answer
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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,527 views 25 14
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