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

From Stefan Boddie
DateFri, 26 Sep 2003 16:22:00 +1200
Subject Re: [greenstone-users] Search box on every page
In-Reply-To (AFAC9B2BF1A8BF4886F5C0FDE428E90E0791EA45-edumail2-education-tas-gov-au)
> 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.