|
SectionsSections are parts of one of the contexts in a template: Print Adding a sectionTo add a section to a context, right-click the context (Email It is not possible to use a Template Wizard when adding a section to an existing template. If an Email context is going to be part of the template, it is recommended to start with an Email Template Wizard; see Creating an Email template with a Wizard. After creating a template, contexts can be added to it, but that can not be done with a wizard. Editing a sectionTo open a section, expand the Contexts folder on the Resources pane, expand the respective context (Print Each section can contain text, images and many other elements (see Content elements), including variable data and other dynamic elements (see Personalizing content). Copying a sectionCopying a section, either within the same template or from another template, can only be done manually. You have to copy the source of the HTML file:
Deleting a sectionTo delete a section:
No backup files are maintained in the template. The only way to recover a deleted section, is to click Undo on the Edit menu, until the deleted section is restored. After closing and reopening the template it is no longer possible to restore the deleted context this way. Renaming a sectionTo rename a section:
Sections cannot have an integer as name. The name should always include alphanumeric characters.
Section propertiesWhich properties apply to a section, depends on the context it is part of. See also: Print sections, Email templates, and Web pages. To change the properties for a section:
Applying a style sheet to a sectionIn order for a style sheet to be applied to a specific section, it needs to be included in that section. There are two ways to do this. Drag & drop a style sheet
Using the Includes dialog
Arranging sectionsChanging the order of the sections in a context can have an effect on how they are outputted; see: Print sections, Email templates and Web pages. To rearrange sections in a context:
Outputting sectionsWhich sections are added to the output, depends on the type of context they are in. When generating output from the Print context, each of the Print sections is added to the output document, one after the other in sequence, for each record. The sections are added to the output in the order in which they appear on the Resources pane. See Generating Print output. In email It is, however, possible to include or exclude sections when the output is generated, or to set another section as the 'default', depending on a value in the data. A Control Script can do this; see Control Scripts. See Generating output to learn how to generate Print documents |
|