The Adaptavist Group LogoDocumentation

Panel Menu

This macro allows standard Confluence menus to be injected into ThemeBuilder panels.

Usage

Storage Format

<ac:macro ac:name="panel-menu">
<ac:parameter ac:name="parameter">value</ac:parameter>
</ac:macro>

Wiki Markup

{panel-menu:parameter=value}
Parameter Name Description Type Default Required
menutypeMenu typeThe menu to insertenum
idLanguage IDThe ID to pass to the language menustring
languagesLanguagesThe list of languages to pass to the language menustring
titleLanguage titleThe title to pass to the language menustring
classLanguage classThe class to pass to the language menustring
spacesearchSpace SearchWhether the search is a space-specific or notbooleanfalse
spacekeySpace keyThe space key to searchspacekey
buttonButtonThe Web Item to display as a button - see Web UI - Web Itemsstring
flagFlagA list of flags, one of which must be defined for the content to be displayedstring
notflagNot FlagA list of flags that must not be defined for the content to be displayedstring

List of Menutypes

  • header-left
  • header-right
  • header-workday
  • aui-create
  • aui-admin
  • aui-help
  • aui-user
  • aui-language
  • aui-quicksearch
  • action
  • button

Example

Display the Confluence Administrators drop-down menu.

<ac:macro ac:name="panel-menu">
<ac:parameter ac:name="menutype">aui-admin</ac:parameter>
</ac:macro>
{panel-menu:menutype=aui-admin}

Result

Resources

Search documentation

Start typing to search the docs.