Re: [greenstone-users] undefined classification problem

From John R. McPherson
DateTue, 22 Aug 2006 17:52:08 +1200
Subject Re: [greenstone-users] undefined classification problem
In-Reply-To (44EA937C-9010308-cs-waikato-ac-nz)
On Tue, Aug 22, 2006 at 05:17:48PM +1200, Katherine Don wrote:
> Hi Galya
>
> If you change the buttonname args to Type and Creator, then it should do
> what you want.
>
> Otherwise you need to define macros:
>
> english.dm
>
> _textTypesshort_
> _textTypeslong_
>
> and same for Authors
>
> and possibly in nav_css.dm
> _texttextTypes_ {_labelTypes_}
> and then in english.dm
> _labelTypes_

Hi,
the new macro stuff isn't particularly well documented, so to clarify:

1. The _label$FOO_ macros are used for the classifier names in the
navigation bar.

2. If you don't use the netscape4 compatibility stuff (which relies on
_text$FOO_ macros), you only need _label$FOO_.

3. You only need to define _label$FOO_ if you want the text that appears
in the navigation bar to be different to the name of the metadata field
you used. (One reason for this is to provide translations of a
metadata field name).

And as Kath said above, for the help text on classifiers you need to
define _text$FOOshort_ and _text$FOOlong_, in a macro file in a
section starting with "package help" (where $FOO is your metadata field
name).

John