Reporting > Generating diagrams and definitions to HTML > Using the HTML Reports tool > HTML Generator templates > Constant pages
  
Constant pages
The constant side of the generation process copies the files from the Template Path to the Publish Path. The following files are copied:
The Template Home Page file is copied from the Template Path, to the Publish Path and is renamed to the Publish Home Page filename.
If there are constant hyperlinks from any HTM file in the template, to the Home Page file, then these break if the constant filename in the hyperlink does not match that chosen for the Publish Home Page file. For example,TITLE.HTM has a button called HOME, which links to Default.HTM, that is, the template’s home page. This link is works the file called Default.HTM is created in the Publish Path. However, choosing a different name for the Publish Home Page file means that the template copy of Default.HTM is renamed in the Publish Path. If this happens, there will be no Default.HTM file in the generated HTML and so the link breaks. For this reason, it is usual to choose a different path, but the same filename for the Publish Home Page, as the Template Home Page.
All other files with the extension HTM are copied from the Template Path to the Publish Path.
Any subdirectories of the Template Path are copied, complete with their contents to the Publish Path. The Template Images subdirectory and the GIF files contained within, are copied to the Publish Path, inside an Images subdirectory.
The sample template consists of the following files. You can modify, rename or remove any of these files.
File
Definition
Default.htm
The Home Page container.
This is a frameset page which holds the Title.htm file at the top, and the Diags.htm file at the bottom.
Renaming this file without modifying TITLE.HTM and DIAGTITL.INC breaks the HOME button link, because this is “hard wired” to the Default.HTM file.
Title.htm
The Main Banner.
This page contains the corporate header, a fixed title, and a toolbar of buttons with fixed destinations.
Diags.htm
The Diagram container.
This is a frameset page which holds the Hier.htm on the left, and the Alpha.htm on the right. These two files are generated by the HTML Generator and are the hierarchical and alphabetical diagram listings respectively.
DefMain.htm
The Definition Page container.
This is a frameset page which holds the Title.htm at the top and the Defns.htm at the bottom.
Defns.htm
The Initial Definitions Page.
This is a frameset page which holds the DefIndex.htm on the left and the DefHome.htm on the right. These two files are generated by the HTML Generator and are the definitions index page and the definitions (detail) page respectively.
Help.htm
The Help Page container.
This is a frameset page which holds the Title.htm at the top and the HelpPage.htm at the bottom. This page is irrelevant to the generator, but merely highlights the fact that users might want a help page, and shows that it is possible to interlink more than just generated HTML into the template.
HelpPage.htm
The Help Page.
This page is irrelevant to the generator. It has been included to hook in with the Help.htm page.
The HTML generator writes many files in the Publish Path, in addition to those copied from the Template Path. The generated files consist of the following files for each diagram:
File
Definition
Diagram.inc files
The main diagram files to which hyperlink jumps are made
Diagtitl.inc files
The diagrams title file
Pxxxxxxx.htm files
The diagram’s picture and map file
Symbols.inc
The diagram’s additional layout file
Ixxxxxxx.htm files
The diagram’s symbol index file
Sxxxxxxx.htm files
The diagram’s symbol definition file
Alpha.htm
The alphabetical diagram index file.
The Template normally contains a link to this file.
Hier.htm
The hierarchical diagram index file.
The Template normally contains a link to this file.
DefIndex.htm
The definitions index file.
The Template normally contains a link to this file.
DefHome.htm
The definitions (Detail) home page.
The Template normally contains a link to this file.
Split Definitions
The individual definitions file.
See also
HTML Generator templates