Re: [greenstone-users] Phind interface, all/some dropdown search options, changing font

From Katherine Don
DateTue, 01 Mar 2005 14:42:11 +1300
Subject Re: [greenstone-users] Phind interface, all/some dropdown search options, changing font
In-Reply-To (s21de57a-024-westyorksfire-gov-uk)
Hi Jonathan

>
> 1) The Phind phrase browser interface - My titles are too long to fit
> in the window. Is there any way to increase the width of the window
> and/or left justify the document names?
>
in gsdl/macros/document.dm, _phindapplet_ defines the applet tag for the
html page. You can change the width/height here:

<APPLET CODEBASE="/gsdl/bin/java"
CODE="org.nzdl.gsdl.Phind.Phind.class" ARCHIVE="Phind.jar" WIDTH=500
HEIGHT=400>

I'm not sure how to change the justification. The source code for the
applet is in gsdl/src/java/org/nzdl/gsdl/Phind/*.java if you want to
have a look.
> 2) In the search screen I would like to make the 'all' option the
> default option. Which file do I need to change to do this?
>
In gsdl/etc/main.cfg, add the line
cgiarg shortname=t argdefault=0

The t argument controls the some/all box.

> 3) I would like to display all text in Aerial. Is this possible? Or is
> it defaulting to Times New Roman because of Unicode?
>
I don't think Greenstone specifies the font - it just uses whatever
default font is set in the browser.
You could try adding
style="font-family: arial;" to the body tag: this is defined in
gsdl/macros/style.dm, defined in GSDL Error macro.


Regards,
Katherine Don