RE: [greenstone-users] Interface design

From Yachnes, Paul
DateTue, 11 Apr 2006 16:06:06 -0400
Subject RE: [greenstone-users] Interface design
>You can change the appearance of a greenstone installation by modifying
the >"style.css" file in the "images" directory.

As I said before, this is great, but which file or files control the
content of pages - navigation and design elements, fixed text - as
opposed to the style of the various pages?

Paul A. Yachnes, MLS
Senior Manager
Information Resource Center
Newspaper Association of America
(703) 902-1694
fax: (703) 902-1691
yachp@naa.org

-----Original Message-----
From: John R. McPherson [mailto:jrm21@cs.waikato.ac.nz]
Sent: Saturday, April 08, 2006 10:50 PM
To: Yachnes, Paul
Cc: greenstone-users@list.scms.waikato.ac.nz
Subject: Re: [greenstone-users] Interface design

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