Re: [greenstone-users] Removing Search For A Collection

From Gavin Spomer
DateWed, 28 Mar 2007 17:34:15 -0700
Subject Re: [greenstone-users] Removing Search For A Collection
>>> Richard Managh <> 03/28/07 3:21 PM >>>
Try removing or commenting out (with a #) any lines in your collect.cfg
starting with "indexes", "levels", or "buildtype"

Okay, commented out:

#buildtype mgpp
#indexes document:text document:Title document:Source
#levels document

Didn't work. Do I need to rebuild after making the changes perhaps?

You might have chosen to modify the navigation bar, but even if you did,
and removed the search link from the navigation bar, the user could
still get to your search page and search on the built indexes by typing
the relevent link into their browser.

Heh heh. More power to 'em. There's not much to search on, but "whatever floats their boat". ;)

Hope this helps,

Thanks for your time and help, Richard. :)


DL Consulting
Greenstone Digital Library and Digitisation Specialists

Gavin Spomer wrote:

>I have one collection that, because of the nature of the metadata it has, I don't want a Search for it. I only want people to browse by the DateList Classifier I have setup. I have tried 2 things to remove the Search from the SearchSubjectsFromDates :
> 1. I tried simply removing all the Search Indexes for the collection. (Hey, when in doubt... try stuff, right?)
> 2. I tried overriding SearchSubjectsFromDates in the collection's file:
> package Global
> SearchSubjectsFromDates {
> <a class="navlink" href="/cgi-bin/library?e=p-01000-00---0cwuyearb--00-1--0-10-0---0---0prompt-10---4-------0-1l--11-en-50---20-about---00-3-1-00-0011-1-0utfZz-8-00&a=d&cl=CL1" title="Browse by Years ">
> Years
> </a>
> }
>Neither of them work and I know that hard-coding in a url the like of the one you see above is crazy, but I thought I'd at least try a few things before pestering the good people of this list. ;)
>Gavin Spomer
>Systems Programmer
>Brooks Library
>Central Washington University
>greenstone-users mailing list