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

my-communities macro

(None)

Overview

The {my-communities} macro displays a list of communities that a given user is member of.

Usage

{my-communities}

If there is no communities matching the parameters, or the viewing user doesn't have permission to view any of the communities returned nothing will be renderd.

Parameters

Parameter Required Default Notes Bubbles Version
default @creator The username of the user for which community membership needs to be displayed:
  • username – the username of the person to list communities for
  • @self – the currently logged in user
  • @creator – the user that created the current page (default)
  • @owner – the user that created the space
1.1
showLogo true Controls the display of the space/community logo in the list 1.1
showTitle true Display the community title. 1.1
showDescription true Display the community/space description 1.1
titleLength no limit Truncate long community titles to x characters 1.1
communityType no filter Optionally filter the list to communities of a specific type (specified by the community type ID) or communities that both the logged in user and displayed user are members of:
  • communityTypeID – specify a valid community type ID to list communities of that type which the user is a member of
  • @commonMembership – list communities that both the target user (as specified by default parameter) and the currently logged in user are both members of.
1.1
showCommonMembership true Controls the display of a note for each community alerting the currently logged in user that they are also a member of the community. 1.1
showControls true Controls the display of community links such as view members, invite and leave next to the community for the currently logged in user. Community Admins will also get notification if there are any outstanding invite or join requests for this community. 1.1
sort none The order that the communities are returned in:
  • title - Sort by community title
  • date - Sort by community creation date
1.1
none   The text to display when the user is not a member of any communities. 1.1
Toggle Sidebar
Added by Alain Moran on Apr 30, 2008 13:30, last edited by Shannon Krebs on Oct 27, 2008 08:17

Adaptavist Theme Builder Powered by Atlassian Confluence