Re: [greenstone-users] Preferences by default

From Michael Dewsnip
DateMon, 20 Oct 2003 11:09:07 +1300
Subject Re: [greenstone-users] Preferences by default
In-Reply-To (5-1-1-6-0-20031018151419-00b20a08-cwpanama-net)
Hi Azael,

Did you try what I suggested in my previous answer? All you have to do is add this one line:

cgiarg    shortname=l argdefault=es

to the end of the main.cfg file in Greenstone's "etc" directory. It doesn't get much easier than that!

Regards,

Michael
 
 

"Azael Barrera, Ph.D." wrote:

 Regarding this answer from Michael,

Will this be the way to have the spanish version of the opening page by
default? When I enter the gsdl I get the english version (from the base.dm and
english.dm I suppose), and then have to go click Preferences to change it
to spanish. However I do need to have the spanish version as the default with the
same format as the english style (a new opening page will be next on
time for now is Ok the default format, but not the language).

Is this cgi setup the way, if so how can be done, or there is in fact an easier way
to do it?

Diego, perhaps you have tried and can suggest some hints.

Thanks in advance,
 
 

At 09:59 AM 10/7/2003 +1300, Michael Dewsnip wrote:

Hi Diego,

I think you've answered your own question: you can set CGI argument defaults in the main.cfg file. For example:

cgiarg    shortname=l argdefault=es

would set the "l" variable (language) to "es" (Spanish).

There is a complete list of the CGI arguments in the administration page of your Greenstone library.

Regards,

Michael
 
 

Diego Spano wrote:

 Is there any way to set preference´s options by default, I mean, adding cgi arguments in main.cfg?ThanksLic. Diego Spano
Archivo Digital
Secretaría de Derechos Humanos
djspano@jus.gov.ar
_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

****************************************************************************************
Azael Barrera, Ph.D.barreraal@cwpanama.net
Professor
ICT Technology Transfer and Capacity Building
****************************************************************************************
 


_______________________________________________ greenstone-users mailing list greenstone-users@list.scms.waikato.ac.nz https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users