Re: [greenstone-users] Setting Preferences oin the config file

From jens wille
DateMon, 24 Jan 2005 20:23:52 +0100
Subject Re: [greenstone-users] Setting Preferences oin the config file
In-Reply-To (41F536E6-6050406-atp-rub-de)
hi axel!

schild wrote:
> Is it possible to change the default values of the preferences (such as
> having advanced search as the default value) from within the collect.cfg
> file?
site-wide preferences are set in the main.cfg file - i don't know if
it's possible to have collection-specific settings as well.
(see also section "Page parameters and CGI arguments" in the
developer's guide, p.100)

> If so what are the command lines that needs to be included into the .cfg
> file for setting the preferences?
there are some examples at the end of the main.cfg (a list of all(?)
arguments can be found on the "Administration Page" under "Technical
information"). e.g., in order to have "query mode" set to "advanced"
you need to add "cgiarg shortname=b argdefault=1".

hth

jens