{module_forumsitesummary}

Description

List of latest posts across all forums.

Syntax

{module_forumsitesummary render="items|collection" rowCount="5" collection="my_custom_collection_name" template=""}

Note: When using named parameters always wrap the individual parameters in double quotes. Also, do note that modules using named parameters do not work for campaigns just yet.

Parameters

  • render - optional parameter, indicates whether the template content is used to render a collection or to render a single item. Take a look at the render parameter's article for more details on how to use it
  • rowCount - limits the number of posts the module will display
  • collection - use this if you need to access the module's Liquid output tags
  • template - this module does not support custom templates. You can use the template parameter however to supress the module's output

This module can be rendered using:

  • a generic un-ordered list format, as this module does not use a layout. See the example below.

  • Liquid collections - the output is a Liquid collection containing the entries:
 "my_custom_collection_name": {
    "moduleName": "forumsitesummary",
    "moduleDescriptor": {
      "templatePath": "",
      "parameters": "3,,collection=\"my_custom_collection_name\"",
      "apiEndpoint": "/api/v3/forumsitesummary",
      "objectType": "45",
      "objectId": "-1",
      "adminUrl": ""
    },
    "items": [
      {
        "forumId": 691,
        "topicId": 49260,
        "topic": "Forum rules - please read",
        "alias": "john smith",
        "date": "09-Sep-2014 04:05 PM"
      },
      {
        "forumId": 691,
        "topicId": 49260,
        "topic": "Forum rules - please read",
        "alias": "john smith",
        "date": "09-Sep-2014 04:05 PM"
      },
      {
        "forumId": 691,
        "topicId": 49260,
        "topic": "Forum rules - please read",
        "alias": "john smith",
        "date": "09-Sep-2014 04:05 PM"
      }
    ]

Examples

  • {module_forumsitesummary rowCount="10"} - displays the latest 10 posts across all forums in this format:

Syntax

{module_forumsitesummary,numberOfPosts}

Parameters

  • numberOfPosts - it limits the number of posts the module will display

Layouts

  • This module does not use a specific layout, it uses an un-ordered list format, see the example below.

Examples

  • {module_forumsitesummary,10} - displays the latest 10 posts across all forums in this format: