Re: [greenstone-users] Custom home page link to collections

From Michael Dewsnip
DateWed, 30 Mar 2005 15:35:49 +1200
Subject Re: [greenstone-users] Custom home page link to collections
In-Reply-To (4249FB1F-7080109-adelaide-edu-au)
Hi Steve,

I expect you're using MGPP ("Advanced Searching") for your collection?
You need a couple of extra CGI arguments so Greenstone knows to display
the special search form; instead of

<a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-Raj+K+Bhardwaj--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=about&c=theses">Theses</a>

you need

<a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-Raj+K+Bhardwaj--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=about&c=theses&ct=1&qt=1&qto=3">Theses</a>

(If you were to hover over the collection icon with the standard home
page I think you'll see these extra options).

Cheers,

Michael

Steve Thomas wrote:

> I have a custom home page, which you can view at
> http://isis.library.adelaide.edu.au/gsdl/cgi-bin/library
> (it's a work in progress).
>
> Using the yourhome.dm example, I have links to collections, defined as
>
> <a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-Raj+K+Bhardwaj--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=about&c=theses">Theses</a>
>
> However, when I use these links, I get an About page with a search box
> at the top, which reads (in part):
>
> "Search for _idx_ that contain ..."
>
> I can't see how to get rid of the search box (I tried tracing back
> through the macros starting from /gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-Raj+K+Bhardwaj--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=p&p=about). I'd prefer not to
> have the search box appear on that page. But if it has to be there,
> how can I fix the '_idx_' which displays?
>
>
> Any clues as always greatly appreciated.
> Steve
>