Site Templates

You are reading the AEM 6.1 version of Site Templates.
This documentation is also available for the following versions:  AEM 6.2 

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

Note

The consoles for the creation of community sitescommunity site templatescommunity group templates and community functions are for use only in the author environment.

Site Templates Console

The Site Templates console is reached by navigating from the main console to 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.

file

Create Site Template

To get started creating a new site template, click the Create Site Template icon at the top of the console.

 

file

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

BASIC INFO

file

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

file

(Optional) Select the Upload Image icon in order to display a Thumbnail along with the Name and Description to creators of Community Sites.

STRUCTURE

file

To add community functions, drag from the right side to the left in the basic order desired.  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 a configuration dialog appearing.

Continue dragging and dropping any other community functions desired for a 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.

file
file

Configuration Function Details

  • Title
    the title displayed on the page, e.g. Home
  • URL
    the name to add to the path for this page
  • select Save

Once all desired functions have been dropped into the Template Builder area, select Save in the upper right hand corner.

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.

file

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

file

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.

​