[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

{list-spaces} macro

(info) Requires Theme Builder 3 or above

This macro

Excerpt

allows you to generate an unordered list of spaces

which may be used in conjunction with the wikimenu macro within a menu.

(warning) page under construction - see wiki notation guide (when editing a page using wiki markup mode) for more info

Parameter

Mandatory

Default

Notes

Builder
Version

default

(error)

all

What kind of spaces should be listed:

  • all – all spaces will be listed
  • global – only global spaces will be listed
  • personal – only personal spaces will be listed

 

teams

(error)

 

Optionally filter the spaces listed to a specific "team label"

 

reverse

(error)

false

Optionally reverse the order of the list:

  • false – sort ascending A-Z
  • true – sort descending Z-A

 

count

(error)

 

By default all matching spaces will be listed, however you can use this parameter to restrict the number of spaces listed. Example: 10 would limit the list to 10 spaces, even if there were more.

 

start

(error)

0

Start the list from the specified offset, useful when used in conjunction with the "count" parameter.

 

Code Block
{list-spaces}

{list-spaces:global}

Hints and Tips

You can use this macro to create menus of spaces

Expand
Show me how...
Show me how...
Wiki Markup
{code}
{menubar}
 {menu}Spaces
 {wikimenu}{list-spaces}{wikimenu}
 {menu}
{menubar}
{code}

{menubar}
 {menu}Spaces
 {wikimenu}{list-spaces}{wikimenu}
 {menu}
{menubar}