Re: [greenstone-users] modifying Greenstone interface

From John R. McPherson
DateThu, 27 Apr 2006 09:28:57 +1200
Subject Re: [greenstone-users] modifying Greenstone interface
In-Reply-To (444FA61D-9060906-stfx-ca)
On Wed, Apr 26, 2006 at 09:55:57AM -0700, Gordon Bertrand wrote:
> Hello all,
>
> We have been using Greenstone for a digitization project at our library
> which incorporates several distinct collections. We would now like to
> make some basic changes to the standard Greenstone interface but despite
> my efforts I'm having difficulties in this respect. It seems that
> regardless of which macro files I modify, no changes are reflected in
> the collections OR in the few cases I have been able to affect a change,
> it is not consistent between collections.

If you are running greenstone by using the local windows server version,
then you need to restart the greenstone server process after changing
the macro files, since it only reads them on startup, I think.

> Here's what we'd like to do:
>
> a) remove the 'Help' button from the navigation menus on each of our
> collections
> - I have tried modifying the nav_css file (no success)

In nav_css.dm, you should remove 'helplink' from the 'globallinks'
macro. Also, the globallinks macro is overridden for some other pages.
You can use the neat 'expand_macros.pl' script to see where else a macro
is used:
##############
$ expand_macros.pl helplink
*** query: helplink ***

* Global:globallinks [v=0] (/home/john/src/gsdl/macros/usability.dm, line 27)
{ HOME HELP PREFERENCES _usability_ }

* home:globallinks [v=0] (/home/john/src/gsdl/macros/nzdlhome.dm, line 18)
{ HELP PREFERENCES }

* homepref:globallinks [v=0] (/home/john/src/gsdl/macros/home.dm, line 151)
{ HOME HELP }

* preferences:globallinks [v=0] (/home/john/src/gsdl/macros/pref.dm, line 25)
{ HOME HELP }
###########


John