ThemeBuilder for Confluence Server and DC

Panel Search

This macro displays the Confluence Panel Search Macro.

The newest version of ThemeBuilder refers to the Panel Search Macro as Quick Search.

Usage

Storage Format

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

Wiki Markup

{panel-search:parameter=value}

Parameter

Name

Description

Type

Default

Required

showSpaces

Show Spaces

Display a dropdown of spaces to search within

boolean

false

error

filter

Filter

Filter the list of spaces to include only global spaces, personal spaces or both

enum

error

spaces

Spaces

Only display the following spaces in the dropdown

spacekey

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

Example

Display the Confluence Search box.

<ac:macro ac:name="panel-search" />
{panel-search}

Result

Used in the ThemeBuilder skin editor header panel the macro will display a Confluence search box, with dropdown for matching content.

panel search 01

The Confluence 5 search box has changed since this macro was created, and the new version can be reproduced using the 'panel-menu' macro.

<ac:macro ac:name="panel-menu">
<ac:parameter ac:name="menutype">aui-quicksearch</ac:parameter>
</ac:macro>