[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Required

Default

Notes

Theme Panels Only

Ver

decorator

(error)

n/a

Only show the content when a specific decorator us being used, eg. "printable", etc.

(tick)

 

action

(error)

n/a

Only show the content for specific action(s), eg. "viewpage". NB: The ".action" part of the action name should not be included.

 

3.0

context

(error)

n/a

Only show the content for specific context(s), eg. "page", "global", etc.

(tick)

 

mode

(error)

all modes

Only show the content for specific modes, eg. "view", "edit", etc.

(tick)

 

space

(error)

n/a

Only show the content if a specific space (referred to by the Space Key) exists.

 

 

spacekey

(error)

current space

The space against which permission checks will be made. Default is current space.

 

 

pagetitle

(error)

current page

the page against which permission checks will be made. Default is current page

 

 

page

(error)

n/a

Only show the content if a specific page (referred to by the page title) exists. @parent can be used to show data if the page is not at the root level, @child can be used to show data if the page has children.

 

 

pluginkey

(error)

n/a

The key of a plugin which must be enabled for the content to be shown

 

 

title

(error)

n/a

Only show the content if the current page has a specific title

 

 

label

(error)

n/a

Only show the content if the the current location (page, news, etc) has the specified label(s), eg. "my:favourite", "meetings", etc.

 

 

spacelabel

(error)

n/a

Only show the content if the the current space has the specified label(s), eg. "meetings", etc.

 

 

teamlabel

(error)

n/a

Only show the content if the the current space has the specified team label(s), eg. "sales,marketing", etc.

 

 

metadata

(error)

n/a

Metadata associated with the current location in the format: "myKey1:myValue1, myKey1:myValue1, etc". when checking for a key with a specific value. To check for the existance of metadata with any value supply a commas separated list of key names, eg: "mykey1, mykey2, mykey3" or mix & match "mykey1, mykey2:myvalue2"

 

 

user

(error)

n/a

Matches against the current user (NB: modified by withuser) - A comma separated list of usernames. Use @anonymous for anonymous users only, @creator for the creator of the current space, @author for the author of the current page.

 

3.0

withuser

(error)

@current

username that user/group/permission checks should be run against. This includes @anonymous, @creator, @author, @current

 

3.2.2

group

(error)

n/a

A comma separated list of user groups that the current user (NB: modified by withuser) should be a member of

 

3.0

permission

(error)

n/a

A comma separated list of permissions:

  • view - user has view permission
  • comment - user can add comments
  • createpage - user can create pages
  • createnews - user can create news
  • edit - user can edit pages or news
  • remove - user can remove (delete) pages, news or comments
  • attach - user can attach files
  • export - user can export pages or the space
  • createspace - user can create spaces
  • spaceadmin - user is a space admin
  • siteadmin - user is a site admin

 

3.0

recurse

(error)

false

Should parent pages (if applicable) be checked for title, labels and metadata?

  • false - only check the current page (default)
  • true - also check parent pages, eg. does the current page or any of it's parents have the specified label, etc.

 

3.0

restriction

(error)

n/a

display content if the page has a restriction in place (none/view/edit/vieworedit/viewandedit - recursable)

 

3.0

useragent

(error)

n/a

A comma separated list of tokens to match against the user agent string of the requesting browser.

(error)

3.2.1

attachment

(error)

n/a

comma separated list of filenames, one of which must be attached to the current page for the content to be displayed.
NB: This parameter is only processed if context is a page or a blogpost.

(error)

3.2.2

olderthan

(error)

n/a

Content is shown if the current page was modified before the given time period from the current date. The date is shown in this format: olderthan=1y6m1d1h (year/month/day/hour)

3.3.0

 

newerthan

(error)

n/a

Content is shown if the current page was modified after the given time period from the current date. The date is shown in this format: newerthan=1y6m1d1h (year/month/day/hour)

3.3.0

 

While none of the parameters are mandatory, you must specify at least one of them for this macro to work.

...