Re: [greenstone-users] Image display problem

From Michael Dewsnip
DateMon, 16 Jan 2006 16:27:55 +1300
Subject Re: [greenstone-users] Image display problem
In-Reply-To (43CAF8BA-9010008-dlconsulting-co-nz)
Hi,

> >And if i were to use CSS which part of folder am i suppose to insert
> into for my collection folder in Greenstone.
>
> A simple example:
>
> Lets say your collection is about apples, and you have an apples
> collection directory, you might have a macro file called apples.dm in
> your applesmacros directory, you might also have a css file called
> style.css in that same directory. You would need to make sure in your
> collect.cfg that you include apples.dm in the listed macro files to
> use for your collection, something like:
>
> macrofiles style.dm base.dm query.dm about.dm document.dm
> english.dm *apples.dm*
>
> Now you have a macrofile that you can use to modify the macros in your
> collection.

What Richard said here will still work, but the recommended way to do
collection-specific formatting now is to put all your macros in a file
called "extra.dm" in the collection "macros" directory (yes, you have to
create this if it doesn't exist). If you call the file "extra.dm" then
Greenstone will use it automatically, and you won't have to specify its
name in the main.cfg/collect.cfg file.

Regards,

Michael