DescriptionField
Specify the name of the "description" column/attribute used by the
[item-description] loop sub-tag.
Synopsis
The default is "description".
Scope
This directive is only available for use in the local
(catalog.cfg) configuration file.
It will not affect any other website in any way.
This directive will not work in the global
(interchange.cfg) configuration file.
Description
When the item-description loop sub-tag
is used on a page,
the description column's (or attribute) value is returned by default.
This directive allows you to specify the name of a different column that
should be returned instead.
It is not a fatal error if this column/attribute does not exist.
If there is an attribute set to the same name as the DescriptionField,
this will be used for display.
If not then nothing will be returned.
This is especially important for on-the-fly items.
Examples
Using the "foo" column/attribute instead of "description"
Using locale-specific DecriptionField values
# Set the default on startup
DecriptionField description
# Specify a locale-specific description field
Locale fr_FR DecriptionField desc_fr
|