RE: [greenstone-users] Search box on every page

From Dwyer, Benjamin J
DateTue, 30 Sep 2003 15:27:01 +1000
Subject RE: [greenstone-users] Search box on every page
Thanks for the help Stefan,

One last thing...now that I've managed to move the search box, is it
possible to remove the search button from the navigation bar?

Ben

-----Original Message-----
From: Stefan Boddie [mailto:sjboddie@cs.waikato.ac.nz]
Sent: Friday, 26 September 2003 2:22 PM
To: Dwyer, Benjamin J; greenstone-users@list.scms.waikato.ac.nz
Subject: Re: [greenstone-users] Search box on every page

> Could someone please suggest how I could display the Search box on
> every page of a collection? My initial thought was to place it in the
>

of style.dm.
>
> But I'm not sure of:
> 1) What effect this will have on the functionality of the query (will
> it
> break?)
> 2) What syntax I need to use to call the search box from query.dm?

Hi Ben,

You're on the right track I think. I haven't tried it but I don't think
there's any reason the query box won't work from any page. You'll need
to insert comething like "

Search in for of the words  

" in the appropriate place.
Try it in
initially, though you might find it's not quite
what you want (it'll end up being above the navigation bar I think which
is perhaps not ideal). Alternatively you might have to put it into the

oops

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 of all the macro files that require it (document.dm is
probably the most important one to get).

Stefan.