Site Templates site-templates

CAUTION
AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.

The Site Templates console is very similar to the Group Templates console, which is focused on functions of interest to Community groups.

NOTE
The consoles for the creation of community sites, community site templates, community group templates and community functions are for use only in the author environment.

Site Templates Console site-templates-console

In the author environment, to reach the community sites console

  • From global navigation: Tools > Communities > Site Templates

This console displays the templates from which a community site can be created and allows new site templates to be created.

chlimage_1-18

Create Site Template create-site-template

To get started creating a new site template, select Create.

This will bring up the Site Editor panel which contains 3 sub-panels:

Basic info basic-info

chlimage_1-19

On the Basic Info panel, a name, description and whether the template is enabled or disabled are configured:

  • Community Site Template Name
    The template name id

  • Community Site Template Description
    The template description

  • Disabled/Enabled
    A toggle switch controlling whether the template is referenceable

Thumbnail thumbnail

chlimage_1-20

(Optional) Select the Upload Image icon in order to display a thumbnail along with the name and description to creators of community sites.

Structure structure

chlimage_1-21

To add community functions, drag from the right side to the left in the order the site menu links should appear. Styles will be applied to the template during creation of the site.

For example, if you want a home page, drag the Page function from the library and drop under the template builder. This will result in the page configuration dialog opening. See the functions console for information about the configuration dialogs.

Continue dragging and dropping any other community functions desired for a community site based on this template.

The page function provides an empty page. The groups function provides the ability to create a group site (sub-community) within the community site.

CAUTION
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.

chlimage_1-22

Group Templates for Groups Function group-templates-for-groups-function

When including a groups function in the site template, the configuration requires the specification of the group template choices allowed when a new group is created in the publish environment.

CAUTION
The Groups function must not be the first nor the only function in the site structure.

chlimage_1-23

By selecting two or more community group templates, a choice is provided to the group administrator when actually creating a new group in the community.

chlimage_1-24

Edit Site Template edit-site-template

When viewing site templates in the main Site Templates console, it is possible to select an existing site template for edit.

This process provides the same panels as creating a site template.

recommendation-more-help
5d37d7b0-a330-461b-814d-068612705ff6