Re: [greenstone-users] creating custom navigation bar labels

From Katherine Don
DateFri, 23 Jun 2006 17:22:48 +1200
Subject Re: [greenstone-users] creating custom navigation bar labels
In-Reply-To (20060622070659-A26933-ncsa-uiuc-edu)

This should work. I just tried with Search {Search for text} and
the whole phrase was displayed on the navigation bar.

Perhaps the macro is not being used. Where have you defined it? In the
main macros folder in next to all the other _labelXXX_
macros? Or in a collection specific - if here, make sure that
it is in the right package (Global).

Try changing Search - does that work?

Alternatively, try using -buttonname "Search by Surname" to your
surnames classifier. This requires a rebuild to take effect.


Anton Chuppin wrote:
> Hello,
> My version is: gsdl 2.63, build 2.61.
> I'm trying to create custom labels on the navigation bar. I can't figure out
> how to make the label display more than one word. As far as I understand, my
> GreenStone distribution doesn't use images to build navigation bar buttons,
> instead it produces html links on the fly.
> The standard navigation bar labels display is controlled by the _labelXxxx_
> macro. For example 'Search' label has Search {Search} macro defined in
> the global package. The similar macro does not work for my custom labels. When
> I tried to define the macro _labelSurname_ {Search By Surname} the label on the
> nav bar still showed 'Surname' only, not 'Search By Surname'. I'm guessing
> that the text of the link on the navigation bar (and the value of its 'Title'
> attribute) comes from the 'buttonname' argument to the classifier in the
> collect.cfg file. Is there any way to assign multi-word values to the nav bar
> links?
> Thank you,
> Anton
> _______________________________________________
> greenstone-users mailing list