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

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

Nicolas Casel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2016

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
Answer accepted
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 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.

Nicolas Casel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2016

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2016

You can use the below syntax.

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events