Setup Templates
Set up templates and/or layouts to make new pages and sections.
A template consists of
- a Template Control File (TCF), instructions for making a new page or section;
- a template file (TMPL), design and layout of pages; and
- an image file, the template thumbnail.
Store template files in the /_resources/ou/templates
folder.
The templates available for your site are unique to your implementation.
Administrators generally restrict access to the _resources
folder to "Administrators Only." If applied recursively, users without access can't see the template thumbnails.
Template OptionsLink to this section
Navigate to Setup > Templates > Template Options to view and manage the templates in your site, as follows:
- Type to edit the template name.
- Click the dropdown to select which group has access to use the template.
- Enter a URL that points to an image for the template thumbnail.
- If blank, the template uses the GIF thumbnail that matches the TCF file name in the
/templates
folder (for example,interior.tcf
is matched withinterior.gif
).
- If blank, the template uses the GIF thumbnail that matches the TCF file name in the
- Click Save.
Layout BuilderLink to this section
Navigate to Setup > Templates > Layout Builder to view and manage access to layouts in your site, as follows:
- Click the dropdown to select which group has access to use the template.
- Click Save.
To edit the name or thumbnail image for the layouts go to Content > Layouts > Properties.
Template GroupsLink to this section
Use template groups to restrict which templates are available for use in a section. Create new template groups, as follows:
- Navigate to Setup > Templates > Template Groups.
- Click +New.
- Type a name for the template group.
- Names can contain lowercase and uppercase letters, numerals 0 through 9, underscores, hyphens, spaces, and periods.
- Names are minimum two characters and maximum thirty-two characters long.
- Select the "Show 'New Folder' Button" checkbox to allow users to create folders within the section.
- Select the checkbox(es) to add templates in the group.
- Click Save.
Create an template group with no templates selected to disable new content creation in a section.
While in Setup > Template Groups, click the "Subscribers" number to see which sections use the template group.
To edit a template group, click the name of the template group.
Delete a template group, as follows:
- Click the More Actions menu for the template group.
- Click Delete.
- In the "Delete" box, click Delete.
Sections subscribed to the template group now have access to all available templates. Deleting a template group is permanent and cannot be undone.