Skip to end of metadata
Go to start of metadata

Overview

The {communities} macro displays a list of communities for a given community type.

Usage

{communities:COMTYPE}
{communities:COMTYPE|sort=date}

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

(tick)

(error)

The community type to list the communities for

1.1

enrolmentType

(error)

 

Filter the communities to display only communities that have the given enrolment type.

  • OPEN
  • MODERATED
  • CLOSED
  • NETWORK

1.1

showLogo

(error)

true

Controls the display of the space/community logo in the list

1.1

showTitle

(error)

true

Display the community title.

1.1

showDescription

(error)

true

Display the community/space description

1.1

titleLength

(error)

no limit

Truncate long community titles to x characters

1.1

showControls

(error)

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

(error)

none

The order that the communities are returned in:

  • title - Sort by community title
  • date - Sort by community creation date

1.1