|Date||Tue, 11 Feb 2003 21:10:37 +1300|
|Subject||Re: How to define a per-collection macro to provide all the "look andfeel"?|
|Anthony Hornby wrote:
> I hope this is the correct list to post this to, will send to users list
> if not appropriate here.
This is probably the right list. The two have become kind of
> I am trying to work out how to define macros such that they will
> type macro to override all the defaults per collection & if so how would
> I call this macro for my desired collection?
> Doing this would help maintenance - just have to edit the one file per
Ok, first create your collectionstyle.dm file in gsdl/macros and edit
You can override any macros you like in this file, giving each new macro
style.dm you'd use something like the following:
<head><title>this is my new header macro</title></head>
Note that the "package Style" line is important. All macros belong to a
> Also as a side note, How do you get rid of the green stripe down the
> home.dm as per the comments there - to no effect.
Replace (or override) the
currently looks something like the following:
And could be replaced by something more like:
There's a section on macros in the Greenstone developer's guide. Get it
Hope some of this helps.