Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

On this page:

Table of Contents
maxLevel4
minLevel2maxLevel4

Usage with the Macro Browser

...

Panel
borderColor#ccc
bgColor#D5EFFF
titleBGColor#F7D6C1
borderStyledashed
Excerpt Include
Navigating to the Macro Browsernopaneltrue
Navigating to the Macro Browser
nopaneltrue

Once you've found the Pagetree macro and have added the required parameter values, click 'insert' to add it to your page.

...

Excerpt Include
_Details_about_macro_parametersnopaneltrue
_Details_about_macro_parameters
nopaneltrue

Parameter

Required?

Default

Description

Include Excerpts in Page Tree
(excerpt)

no

false

Set this value to 'true' if you want the page tree to show excerpts from each page. The excerpts must be defined on each page by the Excerpt macro.

Show Expand/Collapse Links
(expandCollapseAll)

no

false

Set this value to 'true' if you want to display the 'expand all' and 'collapse all' links at the top of your page tree. Your readers can click these links to open or close all branches of the tree at once.

Reverse Order
(reverse)

no

false

Use this parameter in combination with the sort parameter described below. Set this value to 'true' if you want the pages displayed in descending order rather than ascending order.

Root Page
(root)

no

The home page of the space

Specify the parent page for the page tree. The tree will include all children of the given page, plus their children and grand-children etc. The tree will not include the root page itself.

Specify the page title or a special value as follows:

  • Your page title — Page tree shows all pages under the specified page.
  • '@home' — Page tree shows all pages under the home page of the space (default).
  • '@self' — Page tree shows all pages under the current page.
  • '@parent' — Page tree shows all pages under the parent of the current page, including the current page.
  • '@none' — Page tree shows all pages in the space, including orphaned pages and the home page.

Include Search Box above Page Tree
(searchBox)

no

false

Set this value to 'true' if you want to include a search box above the page tree. The search box allows your readers to enter a search term, and then searches within the page tree for the specified value.

Sort Pages By
(sort)

no

position

Specify the order to display the pages in the tree. This sort order is for display purposes only. It does not permanently re-arrange the page order. The value may be one of the following:

  • 'bitwise' — Display the pages using standard alphabetical sorting, such as: title1, title10, title2.
  • 'creation' — Display the pages in order of date created.
  • 'modified' — Display the pages in order of date last modified.
  • 'natural' — Display the pages in 'natural' alphabetical order, such as: title1, title2, title10.
  • 'position' — Display the pages using the default Confluence sorting rules. If your pages have been ordered manually, this sort will respect the defined order. Otherwise the pages will be displayed in the 'natural' alphabetical order, such as: title1, title2, title10.

Start Depth
(startDepth)

no

1

Enter any number greater than 0, indicating how many levels of children the tree should show when it opens for the first time.

...