Go to the first, previous, next, last section, table of contents.
Used by the Catalog package (Catalog.pm). It influences the global behavior
of Catalog.
- `path_separator (optional, default /)'
-
The string that separates path components of the _PATH_
tag in the navigation pages of the catalog,
See section cedit.html.
- `path_root_label (optional, default Root)'
-
Label shown for the root of the path shown as the _PATH_
tag in the navigation pages of the catalog,
See section cedit.html.
- `pathcontext_params (optional)'
-
Parameters that must be used in the pathcontext context,
See section Intuitive navigation (pathcontext).
If set it must contain the name parameter that specifies the name of the
catalog to display.
- `search (optional, nested)'
-
Specifies fields searched and extracted when searching records and the order in which they are
displayed,
See section Catalog search (csearch).
- `<catalog name> (optional, nested)'
-
The following instructions only apply to the thematic catalog whose name is catalog name.
All the field names must belong to the table associated with the named catalog.
- `searched (optional)'
-
A comma separated list of fields to be searched. These fields must be of type char,
varchar or text. If not specified, all the fields of the listed types are
used. All the fields must be fully qualified by
prepending the name of the table in the following way: table.field.
- `extracted (optional)'
-
A comma separated list of fields to be extracted. If not specified, all the fields of the table
are extracted and available for display, See section csearch.html. This instruction
is used to limit the number of fields extracted from the database, if the records are made of many
fields and only a few are needed for display. All the fields must be fully qualified by
prepending the name of the table in the following way: table.field.
- `order (optional)'
-
An ORDER BY clause to sort the records found. The fields mentioned in this clause must
be fully qualified by
prepending the name of the table in the following way: table.field.
- `encoding (optional, default ISO-8859-1)'
-
The encoding of the catalog data. It is used to convert
data from XML files,
See section XML document encoding. T
If the encoding is not the default it influences the search mechanism,
See section Full text search.
Here is an example configuration file:
#
# Catalog.pm configuration file
#
#
# HTML code that separates two component of the path
#
path_separator = /
#
# Label for the root of the hierarchy tree
#
path_root_label = <b>Ze root</b>
#
# When cgi-bin is invoked with path_info instead of regular arguments,
# pretend that these parameters were used. It must at least contain
# the name of the catalog (name=<name>) and may also contain a style, for instance.
# The id and path parameters are automaticaly calculated from the path_info.
#
pathcontext_params = name=urlcatalog
#
# Search specifications
#
search
#
# Specifications for urlcatalog thematic catalog
#
urlcatalog
#
# Search these fields
#
searched = urldemo.url,urldemo.comment
#
# Only extract these fields for display
#
extracted = urldemo.url,urldemo.comment,urldemo.created
#
# ORDER BY clause to sort the records found
#
order = urldemo.url asc
end
end
#
# Encoding of the catalog data (default is ISO-8859-1)
#
#encoding = ISO-8859-1
Go to the first, previous, next, last section, table of contents.