The info section of the INF file contains a list of wizards and templates and displays this list to a user when FrontPage first opens or when New is clicked on the File menu.
Note: FrontPage displays the base name of the template directory when the INF file is not found or when the info section does not exist. When the INF file is found, the dialog boxes display the values of the title and description keys found in the info section.
The following is a sample info section:
[info]
title=My Sample Page
description=Create a page from a template.
There can be other keys depending on the template type. For example, a frames template should have a “layout” key as described in the Creating Frameset Templates section of the SDK.
A web template can have two new keys in the info section: “theme” and “border”. The theme key can contain:
For example, “theme=citrus 101” means that the template will use the Citrus theme with Vivid Colors and an Image Background. The border key can contain one or more letters from the string “tlrb” (TLRB lowercase). The letters represent the four possible borders of a page: top, left, right, and bottom. If these keys are present, the specified theme and borders will be applied to the web after the pages have been uploaded.
Web templates can also specify three optional sections that are used by FrontPage when loading web templates: [FileList]
, [MetaInfo]
, and [TaskList]
.