Go to the first, previous, next, last section, table of contents.


csearch.html

Display the result of a full text search on a thematic catalog.

Here is an example template:

<title>Search results for _TEXT_</title>

<center>
<form action=_SCRIPT_ method=POST>
_HIDDEN_
<input type=text size=40 name=text value='_TEXT-QUOTED_'>
<input type=submit value='search'><br>
_WHAT-MENU_
</form>
</center>
<!-- start categories -->
<center>Categories matching <b>_TEXT_</b> (_COUNT_)</center>
<ul>
<!-- start entry -->
<li> <a href=_URL_>_PATHNAME_</a>
<!-- end entry -->
</ul>

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->
<!-- end categories -->
<!-- start nocategories -->
<center>No category matches the search criterion</center>
<!-- end nocategories -->

<!-- start records -->

<center>Records matching <b>_TEXT_</b> (_COUNT_)</center>

<table border=1>
<!-- start entry -->

<!-- start category -->
<tr><td colspan=20><a href=_URL_>_PATHNAME_</a></td></tr>
<!-- end category -->

<tr>_DEFAULTROW_</tr>
<!-- end entry --> 
</table>

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->
<!-- end records -->
<!-- start norecords -->
<center>No record matches the search criterion</center>
<!-- end norecords -->
`Parts'
`categories'
Shown if a match is found in the categories and the what parameter is not set or set to categories. The list of categories found is displayed according to the rules described in Record list part, See section Record list part. A pager may also be included, See section Multipage results template.
`_URL_'
The URL to display the category found.
`_PATHNAME_'
The full path name of the category found
`_COUNT_'
The total number of categories found.
`_TEXT_'
The original query.
`_TEXT-QUOTED_'
The original query with HTML reserved characters quoted.
`nocategories'
Shown if no category is found and the what parameter is set to categories.
`records'
If the what parameter is set to records, this part is shown if a match is found in the records. If the what parameter is no set, this part is shown if no match is found in the categories and a match is found in the records. The list of categories found is displayed according to the rules described in Record list part, See section Record list part. The fields shown are all the fields of the table associated with the catalog, unless specified otherwise in the catalog.conf configuration file, See section Catalog configuration file. A pager may also be included, See section Multipage results template.
`_COUNT_'
The total number of records found.
`_TEXT_'
The original query.
`_TEXT-QUOTED_'
The original query with HTML reserved characters quoted.
`category'
This part is a mandatory sub part of the part that displays an individual record in the records part. The exact location of this part depends on the Record list part display used, See section Record list part. It is displayed once for the first record. It is then displayed only when the category of the record differ from the previous record shown.
`_URL_'
The URL to display the category of the record.
`_PATHNAME_'
The full path name of the category of the record.
`norecords'
If the what parameter is set to records, this part is shown if no record is found. If the what parameter is not set, this part is shown if no category is found and no record is found.
`Tags'
`_COUNT_'
The total number of records or categories found.
`_TEXT_'
The original query.
`_TEXT-QUOTED_'
The original query with HTML reserved characters quoted.
`_HIDDEN_'
List of hidden fields necessary to perform a new search. Must be included in a form. It includes the mode, boolean, context and name parameters.
`_WHAT-MENU_'
A popup menu to select the what parameter.


Go to the first, previous, next, last section, table of contents.