7.2 Exploring the Default Search and Print Templates

QuickFinder Server includes several default templates used to create search forms and to format, display, and print search results for users.

You can use the templates as they are or you can modify them to look and feel how you want them to. You can also create as many additional templates as you need or replace the default templates with your own templates.

QuickFinder includes the following five template categories:

The templates are stored at volume:\ searchroot\templates.

7.2.1 Search Page Templates

QuickFinder includes two search page templates that are used to generate a search page, as described in the following table:

Table 7-1 Search Page Templates

Template Name

Purpose

SearchTemplate.html

Lets users select a variety of options when performing searches and is the default search template used by QuickFinder Server.

SearchTemplate.Simple

Similar to SearchTemplate.html, except that this template contains no dynamic indexes.

7.2.2 Search Result Templates

QuickFinder includes several ready-made result templates, as described in the following table:

Table 7-2 Search Results Templates

Template Name

Purpose

ResultListTemplate.html

Formats and organizes search results and offers additional sorting functions to the user.

ResultListNoHitsTemplate.html

Indicates when no hits are found during a search and offers users a chance to refine their search.

ResultListTerseTemplate.html

Similar to ResultListTemplate but returns less information, such as dates and titles only.

ResultListVerboseTemplate.html

Similar to ResultListTemplate, but returns more information, such as file date, time, and language. Additional sort options are also provided.

7.2.3 Print Result Templates

From the search results page, users have the option of printing all files matching their search or only those files displayed on the current search results page. When one of these options is selected, the print result templates described in the following table are displayed:

Table 7-3 Print Results Templates

Template Name

Purpose

PrintResultTemplate.html

Combines the full contents of each of the files in the print request into a single document which is then displayed in the user's Web browser. A dynamic table of contents is also created.

When the entire content is downloaded to the browser, the browser's print dialog box appears.

PrintResultNoHitsTemplate.html

Indicates when no documents are found during a print request.