Novell NETWARE 6-DOCUMENTATION Manual page 2116

Table of Contents

Advertisement

<tr>
<td>Total Search Results: </td> <td>&nbsp;&nbsp;$$TotalHits</td>
</tr>
Customizing Print Result Templates
If you are familiar with HTML, you can quickly modify the design of the
default search result template. For example, you can change the colors of the
search page or add new graphics.
To modify the functionality of the default search result template, you can add
or remove search result variables. Search result variables are placed in the
template where you want search results to be displayed.
For example, if you wanted to display the total number of hits returned when
a user performs a search and you wanted the information to appear in the
upper-left corner of the search results page, you would add the following
HTML code to the search result template file:
After a user performs a search, the $$TotalHits variable would be replaced by
the actual total number of hits found during the search.
The $$TotalHits variable is used to retrieve the total number of hits found
during a search. You can place this variable anywhere in the results list
template to organize the display of information in the way you want.
Default search result templates are located in
volume:\searchroot\TEMPLATES\. For a complete list of search result
variables that you can use to customize default search result templates or to
create new ones, see
NetWare Web Search Server includes two default print result templates: the
default print result template and a "no hits" template. Print result templates are
used to organize and format search results for printing and to provide feedback
to a user when no hits are found. For more information about the default print
result templates, see
You can customize the design and functionality of the default print result
template in the same way you customize the search result template by
Modifying the HTML code
Adding or removing print result variables
Table 11, "Search Result Variables," on page
Chapter 16, "Understanding Templates," on page
Customizing Your Search Solutions 187
193.
177.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents