Re: [greenstone-devel] Adding a navigation bar

From Michael Dewsnip
DateThu, 21 Dec 2006 17:06:18 +1300
Subject Re: [greenstone-devel] Adding a navigation bar
In-Reply-To (75CF552F30ECFA439D9B3008906F2A3701282BAD-STAWINCOMAILCL1-staff-vuw-ac-nz)
Hi Daniel,

Sorry to hear you've had a painful time with Greenstone customisation. A
lot of people dislike the Greenstone macro language and I guess its
power comes at a price. Try to think of it simply as "bits of HTML
including other bits of HTML", and customising the output as following
the trail of macros until you find the bit to change. Most pages are
generated from a " GSDL Error

" macro, a "


The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library." macro, and a "
macro. You might like to try the "" script that comes
with Greenstone, if you haven't already.

Regarding your site, I can't see your Greenstone collection because I
can't log in. However, it looks like you're trying to do what Anson
Parker and Ruben Pandolfi have been discussing recently on the
greenstone-users list, and the same solutions apply: modify the macros
to include your library navigation bar (start with

, as Ruben suggests), or put the Greenstone collection in an
<iframe> (in this case you would actually be removing all the formatting
around the core Greenstone content). Both these have their advantages
and disadvantages. In your case I would try the <iframe> approach
because otherwise you'll have to worry about updating the Greenstone
macros whenever the library site changes.

If you can make it to Hamilton somehow we'd be happy to help you with
this, as we particularly like to support people in NZ using Greenstone!

All the best,


Daniel Matthews wrote:

> Hello all,
> I am currently changing the look and feel of greenstone so that it is
> more in-line with the look and feel of our library website.
> I want to add a navigation bar to the
> left hand side of the greenstone pages.
> /<Here is a screendump of where I want to locate the navigation bar
> highlighted red.
> /<And this is a link to the current greenstone navigation adjustments
> we have.>/
> As you can see, the adjusted greenstone is not really complete without
> the navigation buttons on the left.
> Here are my questions:
> - How does one go about getting this navigation bar into greenstone???
> - Which macro file must I adjust???
> I?ve spent a painful 3 months changing our greenstone navigation and
> have stopped at this brick wall.
> Regards,
> Daniel M
>greenstone-devel mailing list