- AEM Communities support nesting of groups within other groups. Group nesting is possible when the structure of the new group contains the groups function.
- For the author environment only, there is a group creation wizard similar to the site creation wizard.
- Whether (or not) members can create groups in publish environment it is configurable when adding a Groups function to a community site structure or community group structure.
Of the three group templates included, only the Reference Group template includes a groups function in its structure.
The different facets of community groups are:
- Creation: new group can be created on author and optionally on publish
- Control: group can be open or secret
- Nesting: a group can contain zero or more groups
Community groups, created in the publish environment before the existence of the Community Groups console, will not be listed in the Community Groups console, and thus, are not modifiable using the console.
To access the Groups console:
- On author, sign in with administrator privileges
- From global navigation: Communities, Sites
- Select an existing community site folder to open it
- Select an instance of a community site within the folder
- the structure of the community site must include a groups function
- these screen shots are from the Getting Started tutorial after creating groups on publish
Select the Groups folder to open it.
When opened, all existing groups, whether created on author or publish, are displayed.
From this Groups console, it is possible to author new groups.
- Community Group Title: a display title for the group.
The title appears on the published site for the group.
- Community Group Description: a description of the group.
- Community Group Root: the root path to the group.
The default root is the parent site, but the root can be moved to any location within the website. It is not recommended to change it.
- Additional Available Community Group Languages(s) menu: use the drop-down to select the available community group language(s). The menu displays all the language(s) in which the parent community site is created. Users can select among these languages to create groups in multiple locales in this single step. Same group gets created in multiple specified languages in the Groups console of the respective community sites.
- Community Group Name: the name of the group's root page which appears in the URL
- double-check the name as it is not easily changed after the group is created
- the base URL will be displayed underneath the Community Group Name
- for a valid URL, append ".html"
for example, http://localhost:4502/content/sites/mysight/en/mygroup.html
- Community Group Template menu: use the drop-down to choose an available community group template.
The framework uses Twitter Bootstrap to bring a responsive, flexible design to the site. One of the many preloaded Bootstrap themes can be selected to style the selected community group template, or a Bootstrap theme can be uploaded.
When selected, the theme will be overlayed with an opaque blue check mark.
It is possible to select a theme which differs from the parent site's theme.
After the community site is published, it is possible to edit the properties and select a different theme.
Community site branding is an image displayed as a header across the top of each page. It is possible to display a banner for the group which differs from other site pages.
The image should be sized to be as wide as the expected display of the page in the browser and 120 pixels in height.
When creating or selecting an image, keep in mind:
- The image height will be cropped to 120 pixels measured from the top edge of the image
- The image is pinned to the left edge of the browser window
- There is no resizing of the image, such that when the image width is:
- less than the browser's width, the image will repeat horizontally
- greater than the browser's width, the image will appear to be cropped
Community Group Moderators
By default, the parent community site's list of moderators is inherited.
It is possible to add moderators specific to the group. Search for members (from publish environment) to add them as moderators
By default, the parent community site administrator is the administrator for groups too.
However, it is possible to assign independent group administrators. Group administrators can manage their group (for example G1), and create a sub-group nested under G1. They can further assign different administrators for the sub-group.
A user U1, therefore, can be an administrator in a group G1 and a regular user in its nested group G2.
- Optional Membership
If selected, the community group is a public group. Site members can participate in the group and post without explicitly joining the group. Default is selected.
- Required Membership
If selected, the community group is an open group. Community site members can view the contents of the group, but need to join the group to post content. Members join by selecting the Join button in the publish environment. Default is not selected.
- Restricted Membership
If selected, the community group is a secret group. Community members must be explicitly invited. Invited members are entered in the search box. Members can be added later using the Members and Groups consoles the author environment. Default is not selected.
The thumbnail is an image to display for the group on author and publish.
The optimal size for a group image is 170 x 90 pixels in a supported image format (such as JPG or PNG).
If no image is added, a default image is displayed.
If any adjustments are needed, use the Back button to make them.
Once Create is selected and started, the process of creating the group cannot be interrupted.
When the process completes, the card for the new sub-community site (group) is displayed in the Communities Sites Groups console, from where authors can add page content or administrators can modify the properties of the site.
The group gets created in all the languages, as specified in Step 1: Community Group Template in Additional Available Community Group Languages, in the Community Groups console of the respective community sites.
The page content of a group can be authored with the same tools as any other AEM page. To open the group for authoring, select the Open Site icon which appears when hovering over the group card.
The properties of an existing sub-community site, specified during the community group creation process, can be modified by selecting the Edit Site icon which appears when hovering over the group card:
Details of the following properties match the descriptions provided in the Group Creation section. Any nested group can be modified, whether created in the publish environment or author environment.
The BASIC panel allows the modification of
- Community Group Title
- Community Group Description
The Community Group Name may not be modified.
Choosing a different community group template would have no affect on an existing community group site as no connection remains between templates and sites.
Instead, the STRUCTURE of the sub-community may be modified.
The STRUCTURE panel allows the modification of the structure initially created from the community group template selected when creating the sub-community site from either the author or publish environment. From the panel, it is possible to
- Drag-and-drop additional community functions into the site structure
- On an instance of a community function in the site structure:
- Gear icon
Edit settings, including the display title and URL name*
and privileged members groups.
- Trashcan icon
Remove (delete) functions from the site structure.
- Grid icon
Modify the order of functions as displayed in the site's top level navigation bar.
- Gear icon
* While the display title can be changed without side-effects, it is not recommended to edit the URL name of a community function belonging to a community site.
For example, renaming the URL will not move existing UGC, thus having the effect of 'losing' UGC.
The groups function must not be the first nor the only function in the site structure.
Any other function, such as the page function, must be included and listed first.
The SETTINGS panel allows the ability to add community moderators.
The MEMBERSHIP panel is informational only. It is not possible to alter the type of group membership established, whether it is optional, required or restricted.
The THUMBNAIL panel allows for an image to be uploaded to represent the community group to site visitors in the publish environment as well as in the Communities Site's Groups console in the author environment.
After a community group has been newly created or modified, it is possible to publish (activate) the group by selecting the Publish Site icon.
Once the group is successfully published, a message will appear:
The parent community site and parent groups should already have been published.
The community site and nested groups should be published in a top down fashion.
Delete a group from within the community Groups console by selecting the Delete Group icon, which appears on hovering mouse over the group.
This removes all the items associated with the group, for example all the content of the group is permanently deleted and user memberships are removed from the system.