2022.1

Table Of Contents
Adding a Web page
When a Web template is created (see "Creating a Web template with a Wizard" on page575),
only one Web section is added to it. A Web context may contain various templates, but per
record only one of those can be used to generate output.
It is not possible to add a Web section to an existing Web context with the help of a Template
Wizard.
To provide alternative content for the web page, you could use Conditional Content (see
"Showing content conditionally" on page856), or Snippets and a script (see the Help topics
"Snippets" on page775 and "Loading a snippet via a script" on page945, and this how-to:
Multi-page Web template.)
Tip
For an example of how to serve different web pages using snippets, see the following
how-to: Creating a multi-page Web template.
If you would like to start with a template that is identical to the one you already have, consider
copying it (see "Copying a section" on page501).
To add a blank section to the Web context:
l On the Resources pane, expand the Contexts folder, right-click the Web folder, and then
click New Web page.
Importing a Web page
To import a Web page from another template, click File >Import Resources... in the menu.
See: "Import Resources dialog" on page1029.
The Web page's Includes settings get imported automatically (see "Includes" on page579).
Remember to add or import any related source files, such as style sheets and images.
Deleting a Web page
To delete a Web section:
Page 581