Re: [greenstone-users] Interface design

From Katherine Don
DateThu, 13 Apr 2006 12:14:12 +1200
Subject Re: [greenstone-users] Interface design
In-Reply-To (EBE580F8EEAB9049BE5F982422C8461001DC597F-dpes-mail-naa-org)
Hi Paul

The macro files control most of the content - a little bit comes from
the library server.
Theres a little bit about the macro files in
http://greenstone.sourceforge.net/wiki/index.php/A_basic_introduction_to_using_CSS_in_Greenstone
And theres more in
http://www.wrlc.org/dcpc/UserInterface/interface.htm
although this is a bit out of date now. It will still give you some
ideas about macro files though.

The style.dm macro file controls most of the common elements in a page,
the

oops

The requested page could not be found. Please use your browsers 'back' button or the above home button to return to the Greenstone Digital Library. macro in each file controls the main body of each page.

Regards,
Katherine


Yachnes, Paul wrote:
>>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
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>