[All Adaptavist Apps]

Page tree

Versions Compared

Key

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

...

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}

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

 

Wiki Markup

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

{code}
{builder-spacetitle}
{code}

Which gives: {builder-spacetitle}

 

Always display the site title

 

Wiki Markup

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

{code}
{builder-spacetitle:sitetitle=true}
{code}

Which gives: {builder-spacetitle:sitetitle=true}

 

CSS Customisation

Not applicable to this macro.

...