Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

sizemedium

Velocity macros can be included in to the top section and the bottom section of your advanced theme.

Ui expand
title#originaltheme_category_menu()

Includes the RefinedWiki category menu.

Parameters

Name

Default

Values

Description

Version

scroll

false

true, false

true - Add scrolling in the horizontal plane.

3.1

version

2,3

Use version 3 to get a clean and modern HTML structure of your menu.

5.0

design

design

Deprecated since 5.0.Will still work if you're using "version":"2" and have an advance theme with Resource base: 1.

default - Adds a default design to the category menu. TIPS: If you building a design from scratch, the default design helps you get started.

3.1

Example

 #originaltheme_category_menu({"scroll":true, "design":"default"})

Ui expand
title#originaltheme_search()

Includes the live search function.

Example
#originaltheme_search()

Ui expand
title#originaltheme_top_menu()

Include the customizable global menu functionality. 

Info
PLEASE NOTE:

This macro will not be used if the global side menu bar layout is active. The global menu will the automatically be included in the sidebar. This setting is made at the navigation section of the admin UI.

Parameters

Name

Default

Values

Description

Version

buttonSize

small,large

Deprecated since 5.0, use without buttonSize instead.

This parameter only works with Advanced themes using resource base: 1.

The size of the top menu button

small - 28 x 28 px

large - 32 x 32 px

3.1

Example

#originaltheme_top_menu()

Ui expand
title#originaltheme_logo()

Includes the logo.

Example
#originaltheme_logo()

Ui expand
title#originaltheme_breadcrumbs()

Includes the breadcrumbs.

Example
#originaltheme_breadcrumbs()

Ui expand
title#originaltheme_app_switcher()

Includes the application switcher if there is application links to show.

After this method has been executed you can use the $hasAppSwitcher variable to tell if the app switcher is visible. E.g. I no items is specified the app switcher will not be displayed. $hasAppSwitcher = true, than it's visible.

Available for Confluence 5 (or above) using RefinedWiki Original Theme 3.4 (or above).

Example
#originaltheme_app_switcher()

Ui expand
title#originaltheme_global_menu()

Includes the global menu.

Available for Confluence 5 (or above) using RefinedWiki Original Theme 3.4 (or above).

Example
#originaltheme_global_menu()

Removed

Name

Parameters

Description

#originaltheme_top_menu_classic()

Removed in 5.0.

#originaltheme_category_dropdown()

Removed in 3.0.1,  This macro is now included in the #originaltheme_category_menu()