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

menutype

Menu type

The menu to insert

enum


id

Language ID

The ID to pass to the language menu

string


languages

Languages

The list of languages to pass to the language menu

string


title

Language title

The title to pass to the language menu

string


class

Language class

The class to pass to the language menu

string


spacesearch

Space Search

Whether the search is a space-specific or not

boolean

false

spacekey

Space key

The space key to search

spacekey


button

Button

The Web Item to display as a button - see Web UI - Web Items

string


flag

Flag

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

string


notflag

Not Flag

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

string


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

On this page