Creating a Template
Since a template is in fact a section, templates must be created in the same way. This means they cannot be created using Content Studio - you have to use Web Studio instead. To create a template
-
Access Web Studio by starting a browser and pointing it to:
http://your-host:8080/escenic/
where your-host is the host name or IP address of the machine on which Web Studio is running. A login page should be displayed.
-
Enter the name and password of a user with sufficient access rights to create new sections. The following page should then be displayed:
-
Click on SECTIONS. The following section tree is then displayed:
-
Pick the section in which you want to create the new template section (usually
config
or one of its children, see Organizing Templates below) and click on its Administer link. -
Click on the Create a subsection link. The following form is then displayed:
-
Enter values for the following properties:
- Section name
-
You can set the section name to anything you like, but you are recommended to set it to the same value as Unique section name.
- Unique section name
-
The section's unique name must be set according a special naming convention. For details, see Naming Templates.
- Relative directory URI
-
It doesn't really matter what you enter here, but by convention you repeat the Unique section name, replacing all
"."
characters with"_"
. - State
-
Set to
Published
.
All the other properties can be left empty or with their default values.
-
Click on Save.
-
Start Content Studio and display the section tree by clicking on the 2 Sections tab on the left side of the window.
-
Expand the
config
template tree until you find the new template, then double-click on it to open its section page for editing. -
Set the section page's Page options property to
config
. -
Add the groups and widgets you require to the template.
-
Click on the Save button at the bottom of the section editor.