Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

add-favourite-user macro


Overview

The add-favourite-user macro outputs a link to the add/remove user to favourites action. If the user is not currently a favourite then the add link is output, if the user is an existing favourite then a link to the remove action is generated.

Usage

{add-favourite-user}%Add% user %to% favourites{add-favourite-user}

Parameters

Parameter Required Default Notes Bubbles Version
default @creator The username of the person who should be added to the favourites
  • @creator - The creator of the page
  • username - A user's name
1.0

Fields

The following fields are supported in the body of this macro:

Field Parameter(s) Notes Bubbles Version
%Add% macro body Replaced with 'Add' / 'Remove' dependant on whether the user is currently a favourite 1.0
%add% macro body Replaced with 'add' / 'remove' dependant on whether the user is currently a favourite 1.0
%to% macro body Replaced with 'to' / 'from' dependant on whether the user is currently a favourite 1.0
Toggle Sidebar

See Also

Incoming Links


Outgoing Links


Added by Alain Moran on Nov 26, 2007 22:18, last edited by Shannon Krebs on Jul 14, 2008 05:20

Adaptavist Theme Builder Powered by Atlassian Confluence