Skip to end of metadata
Go to start of metadata

ThemeBuilder Macro - Panel Menu (Confluence Menu)

panel-menu

Allows standard Confluence menus to be injected into builder panels

Categories: development

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

menutype

Menu type

The menu to insert

enum

 

(tick)

id

Language id

The id to pass to the language menu

string

 

(error)

languages

Languages

The list of languages to pass to the language menu

string

 

(error)

title

Language title

The title to pass to the language menu

string

 

(error)

class

Language class

The class to pass to the language menu

string

 

(error)

spacesearch

Space Search

Whether the search is a space-search or not

boolean

false

(error)

spacekey

Space key

The space key to search

spacekey

 

(error)

button

Button

The web-item to display as a button - see Web UI - Web Items

string

 

(error)

flag

Flag

A list of flags, one of which must be defined for the content to be displayed

string

 

(error)

notflag

Not Flag

A list of flags which must not be defined for the content to be displayed

string

 

(error)

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 dropdown 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

 Web UI - Web Items