Re: [greenstone-users] Macros help

From Katherine Don
DateTue, 10 Feb 2004 09:13:23 +1300
Subject Re: [greenstone-users] Macros help
In-Reply-To (1076038180-40230a246f60e-mailserv-ait-ac-th)
Hi Sunita

Each type of page in Greenstone has a corresponding macro file. eg the home page
has home.dm, the about page about.dm, the query page query.dm etc. base.dm and
style.dm define macros that are used by all pages unless they are redefined by
the particular 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 is the main one that defines what goes in each page.
GSDL Error macros are defined in style.dm and are applied to all
pages - the header defines some style elements for the page.

So for the home page, start with home.dm and 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. Feel free to
make changes and see what happens. Commenting out a macro (using # at the start
of the line) and looking at teh resulting page is a good way to see what a macro
does.

Also we have two example collections that play around with formatting (although
this is collection specific):
http://www.nzdl.org/cgi-bin/library?a=p&p=about&c=garish
http://www.nzdl.org/cgi-bin/library?a=p&p=about&c=authen-e

These may help you too.

Regards,
Katherine Don

sunitask@ait.ac.th wrote:

> Hello users,
>
> I would like to change the layout of the home page. I have read the
> document "Optimizing the Greenstone User Interface" but I am still confused
> which macros to change for the home page and which for the collections. There
> are several macro files in the macro folder. Could someone please show me how
> these macros are linked to each other and purpose of each macro.
>
> Thankyou.
> Sunita
>
> ----------------------------------------------------------
> This mail sent through AIT WebMail : http://www.ait.ac.th/
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users