Skip to end of metadata
Go to start of metadata

Overview

The forum-info macro displays snippets of information about forums. This macro is intended to help users developing custom themes and layouts that wish to include forum statistic information. Only forums that have the forum property set on their root page are counted as part of this macro, please see the forum macro for more information.

Usage

{forum-info}

Parameters

Parameter

Required

Default

Notes

Bubbles Version

default

(tick)

(error)

Specifies the snippet of information to display

  • forumCount - the number of forum root pages
  • forumTopicCount - the number of topics on for the given forum root page
  • spaceTopicCount - the number of topics in the entire space

1.6

space

(error)

@current

The space key for the forum information. The following meta params can be used:

  • @current - The space the macro is rendered in.
  • @personal - The users personal space.
  • @my-communities - The spaces that are also communities that the user is a member of.

1.6

page

(error)

@self

The page name for looking up forum information

1.6

username

(error)

@self

The username for forum information that requires a username, e.g. searching for forum in my-comunities. The following meta params can be used:

  • username - specify the username of a user.
  • @self - the logged in user
  • @creator - the user that created the page
  • @owner - ther user that created the space

1.6

include

(error)

 

For statistics that count topics, include only those with matching properties. Multiple includes can be specified as a comma separated list, topics must match all the include properties to be displayed.

  • locked - locked topics
  • sticky - sticky topics
  • subForum - topic is also a forum root page

1.6

exclude

(error)

 

For statistics that count topics, excludes topics with matching properties. Multiple excludes can be specified as a comma separated list.

  • locked - locked topics
  • sticky - sticky topics
  • subForum - topic is also a forum root page

1.6