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
And theres more in
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 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.
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
> -----Original Message-----
> From: John R. McPherson [mailto:email@example.com]
> Sent: Saturday, April 08, 2006 10:50 PM
> To: Yachnes, Paul
> Cc: firstname.lastname@example.org
> 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
>>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.
> 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