[All Adaptavist Apps]

Page tree

Versions Compared

Key

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

...

{builder-spacetitle} Macro

Description

This macro

Excerpt

returns either the name of the currently displayed space or the site title

if the macro is being run from within a global page. Additionaly the site title may be displayed from within a space level by setting the sitetitle parameter to true.

Usage

Code Block

{builder-spacetitle}

Note:
This macro can only be used inside panels within the theme configuration screen. You cannot use it in pages or news articles, etc.

Parameters

Property

Required

Default

Notes

sitetitle

(error)

false

when set to true the macro always returns the site title whether viewed from a space level page or not

Examples

Basic Use

 

Simply add the macro to any panel in theme configuration to display the space title in that panel:

Code Block

{builder-spacetitle}

 

Always display the site title

 

If you want to display the site title, even at space level, use the following notation:

Code Block

{builder-spacetitle:sitetitle=true}

 

CSS Customisation

To followNot applicable to this macro.

Hints and Tips

None at present.

...