[All Adaptavist Apps]

Page tree

{list-spaces} macro

(info) Requires Theme Builder 3 or above

This macroallows you to generate an unordered list of spaceswhich 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.

 

{list-spaces}

{list-spaces:global}

Hints and Tips

You can use this macro to create menus of spaces

{menubar}
 {menu}Spaces
 {wikimenu}{list-spaces}{wikimenu}
 {menu}
{menubar}
  • No labels