Novell NETWARE 6-DOCUMENTATION Manual page 2117

Table of Contents

Advertisement

If you are familiar with HTML, you can quickly modify the design of the
default print result template. For example, you can change the colors of the
print results page or add new graphics to it.
To modify the functionality of the default print results template, you can add
or remove print result variables. Variables are placed in the template where
you want search results to be displayed.
For example, if you wanted to remove the table of contents from the default
print results template, you would remove, or comment out, the following
HTML code in the PRINTRESULTLIST.HTML template, which would
include the $$BeginTOCList variable:
<CENTER><H2>Table of Contents</H2></CENTER>
<p>
<!--
TABLE OF CONTENTS
-->
$$BeginTOCList[<BIG><B>$$Product</B></BIG>
<DL>]
<DT><A HREF="#$$Bookmark"><BIG>$$Title</BIG></A>
<SPACER TYPE=HORIZONTAL SIZE=20>
<I><SMALL>[$$URL]</SMALL></I>
$$EndTOCList[</DL>]
You could either save your changes in the default print result list template or
you could save it using a new name, thereby creating an alternative template
for users who don't want a table of contents in the print results. To be effective,
you would then have to add a hypertext link in the search result template that
would link to your new template.
Default print result templates can be found at
volume:\searchroot\TEMPLATES. For a complete list of print result variables
that you can use to customize default search result templates or to create new
ones, see
Table 12, "Print Result Variables," on page
199.
188 Getting Results with Novell Web Services

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents