TemplateDir
Specify common template/fallback page directories.
Synopsis
|
TemplateDir path/to/directory
|
Supply one or more directory names, separated by whitespace.
The default is blank.
Scope
This directive is available for use globally
(in the "interchange.cfg" configuration file),
and locally (in the "catalog.cfg" configuration file).
The global configuration affects all websites running
under the Interchange instance.
Each individual website's local configuration will not affect
or influence other websites in any way.
Description
This directive can be used to specify a directory that holds some
default/shared pages, so that similar websites need not create their
own copies.
The website's PageDir directory will be searched first.
If the requested page is not found then it will be looked for in the
local TemplateDir list,
and then in the global TemplateDir list.
The file used will be the first one found in the list.
See also