Re: [greenstone-users] Interface design

From John R. McPherson
DateSun, 9 Apr 2006 14:50:21 +1200
Subject Re: [greenstone-users] Interface design
In-Reply-To (EBE580F8EEAB9049BE5F982422C8461001DC5975-dpes-mail-naa-org)
On Fri, Apr 07, 2006 at 03:47:35PM -0400, Yachnes, Paul wrote:

> "The layout of the top navigation buttons is controlled by a macro
> called _javalinks_, which is defined in the package Global in the
> base.dm file.
>
> _javalinks_ {_imagehome__imagehelp__imagepref_}"
>
> However there is no _javalinks_ macro in my base.dm file.
> Is there any better documentation or training available for interface
> design? I am also interested in other advanced training.

Hi,
greenstone version 2.63 and later now makes much more use of Cascading
Style Sheets to control the presentation in web browsers. This makes
it easier to modify the appearance without having to understand
greenstone's macro language, which controls the generated HTML.

You can change the appearance of a greenstone installation by modifying
the "style.css" file in the "images" directory.

You can also override the style file used on a per-collection basis
by defining the /gsdl/web/style/style.css macro to point to the URL of the file you
want to use. You can define this either by creating a file called
"extra.dm" in the collection's own "macro" directory (create it if it
doesn't exist), or by adding
collectionmacro Style:cssfilelink /url/to/stylefile.css
in the collection's collect.cfg file.

We hope to have more examples and documentation of greenstone's use of
CSS up online this week.

John McPherson