Ektron 9.00
As you set up your Ektron website, you create templates for your Web pages. A template typically includes page headers, footers, and placeholders for content, forms, summaries, and other page elements; a place to display content items from content lists, menus, collectionA list of Ektron content links for display on a Web page.s, and so on through a hyperlinks.
The following image shows a template where the top of the screen contains headers that appear on several pages and shows that when a user selects the Email hyperlink, content item (ID 87) displays within the contactinformation.aspx
template. A developer can modify content within these areas.
NOTE: To learn more about creating templates, see Creating a New Template in Visual Studio.
Prerequisite
You must be a member of the Administrators group or in the Manage Members for Role: Template Configuration screen. See Also: Defining Roles.
After creating templates, declare them within Ektron. To do this, go to the Active System Templates screen, available from Settings > Configuration > Template Configuration.
From this screen, you can add new templates, or delete or update existing ones.
To delete a template, click Delete in the template row.
You can only delete a template if it is not assigned as any folder’s default template. If you choose a template that is assigned as a default, a screen tells you why you cannot delete it and lists the folders for which it is the default. If you delete a template that is not used as a default but is applied to content, that content’s template is changed to its folder’s default template.
The update procedures lets you change all references from an old to a new template. For example, your old template is named MyTemplate.aspx
. You can want to replace all references to it to Updatetemplate.aspx
.
NOTE: This screen has additional fields when mobile device detection is on and mobile configurations exist. For more information, see Using Mobile Templates
Each folder must have at least one template and one template must be chosen as the default. By default, folders below the root folder inherit a template from their parent. However, you can assign a unique set of templates to any folder by overriding the default inheritance. To do this, go to the Edit Folder Properties screen and uncheck the box next to Inherit Parent Template Configuration.
When a folder’s default template is changed, existing template assignments remain, but new content added or moved into the folder assumes the new default template.
If you break template inheritance, inherited templates are initially assigned to the folder. You can then remove unwanted templates or add new ones. Available templates appear in the template drop-down list. Select any that you want to be available from the folder and click Add. (The list of available templates is managed through the Active System Templates screen.)
A folder’s default template is automatically applied to all content in the folder. However, you can change a content item’s template to any of those assigned to the folder.