Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows |
An authoring template determines the design of a content form, defines what fields and elements appear on a content form and specifies default values for fields and elements.
The fundamental purpose of the authoring template is to provide a way for the template author to select the elements that appear on the content form. When constructing the authoring template, you can select more than one element field of the same element type. For example, you might add three text element fields, two rich text element fields, and four image element fields to the same authoring template.
When you create an authoring template, you can specify default values to be used when creating new content based on the template. Well selected default values can make it easier and more efficient for a content author to create new content and can streamline the content creation process.
You can set default content values for the following sections of the authoring template:
The authoring template provides features that help you simplify the presentation of the content form and screen the content author from unnecessary complexity.
Content form layout options. You can control the general layout of the fields on the content form by specifying a content form layout option. Depending on the layout option you select, this can reduce the vertical space required to display the elements on the content form.
Hidden fields. In addition to organizing a content form with a layout option for the fields, you can further simplify the form presented to the content author through the use of hidden fields. With the exception of those fields that are required for a content form, you can designate any other field in the authoring template to be hidden. A field marked to be hidden in the authoring template is not displayed on the content form, thereby streamlining the form's visual appearance. Note, however, that although a hidden field is not displayed on the content form, the information defined in the field is still associated with the content form and will be processed with the form. This is particularly useful when used in conjunction with a default value for a field because it enables you to specify a setting for a field and then hide the field on the content form to ensure that the field's value cannot be changed by the content author. For example, you might want to set access control levels for content generated from the authoring template in the Access Control section of the template and then hide that section on the resulting content form. When a content item is generated from the template, the access control levels for the content item will be derived from the default values in the template.
When referencing content components in a presentation template:
You should also be aware that an authoring template could be used by different presentation templates in different site areas.
The names of element labels in different content items must be the same if an element reference in a presentation template is to change depending on the current content. This is an important consideration if two authoring templates will be using the same presentation template. The element types however, do not have to be consistent.
Example:
For an element reference called Heading from Current Site Area:
Site area | Element label | Element type |
---|---|---|
Business | Heading | Image |
Personal | Heading | Rich Text |
Features | Heading | Text |
News | Heading | Text |