fm:GroupList allows you to create a list of groups users created on the system.
| Name | Required | Default | Description |
|---|
| evenClass | Optional | | The contents of this attribute will be placed in the 'loop.evenClass' template variable, only for even row-numbers. This allows you to give every even row a specific css class |
| moderationStatus | Optional | N/A | Filter by this moderationstatus. Possible values are "accepted", "denied", "unmoderated", "moderated", "notdenied","all" |
| oddClass | Optional | | The contents of this attribute will be placed in the 'loop.oddClass' template variable, only for odd row-numbers. This allows you to give every odd row a specific css class |
| pageSize | Optional | 100 | Sets the total number of items per page. |
| parentGroup | Optional | N/A | Groups support nesting, you can display all sub-groups for a specific parent-group by specifying the id using the attribute |
| searchQuery | Optional | N/A | Searches using the Full-text index on title, description, address and city |
| sort | Optional | created DESC | Sets the sort field. Use the format fieldname ASC/DESC. Currently created, memberCount, mediaCount, id and name are supported |
| startPage | Optional | 0 | Sets the startpage for this list. |
| Name | Description |
|---|
| loop.hasResults | The contents of this variable will be either 0 or 1, depending on if there are items in the list. |
| loop.oddClass | The contents of this variable will reflect the "oddClass" attribute. This will only be set for odd rownumbers. |
| loop.evenClass | The contents of this variable will reflect the "evenClass" attribute. This will only be set for even rownumbers. |
| loop.index | The 0-based index of the item in the loop. (Will contain 0,1,2,3,4, etc.) |
| loop.currentPage | If a pager is involved in this loop, this will contain the current page number (0-based index). If page information is not available, this will be 0. |
| loop.currentPage1 | This value is currentPage + 1. This number can be useful to display the current page number to use user. (people generally count from 1, not 0). |
| loop.totalPages | Total number of pages avaiable in this loop. This will be 0 if the loop does not support paging. |
| loop.totalItems | Total number of individual items. This will be 0 if the loop does not support paging. |
| loop.pageSize | Total number of items on 1 single page. This will be 0 if the loop does not support paging. |
| group.id | Group id |
| group.name | Group name |
| group.description | Description |
| group.note | The note field can be used to specify additional information about the group, generally this is only used within the mediafactory |
| group.logo | The logo is actually a media-id, use this in conjunction with the mediaviewers. |
| group.created | The creation date in YYYY-MM-DD HH:MM:SS format |
| group.createdby | This is a user-id |
| group.memberCount | This variable contains the total number of group members |
| group.mediaCount | This variable contains the total number of items associated with the group |
| group.approvedMediaCount | This variable contains the number of media items associated with the group that have been approved |
| group.notDeniedMediaCount | This variable contains the number of media items associated with the group that have not been denied |
| group.geo_longitude | The longitude of the group. |
| group.geo_latitude | The latitude of the group. |
| group.moderationStatus | The current moderation-status for the group. This can be either unmoderated, accepted or denied |
| group.address | Address of the group. |
| group.city | City the group is in. |
| group.state | 2-letter state or province |
| group.postalcode | Postal/zip-code |
| group.country | 2-letter country code |