[greenstone-users] style.dm and extra.dm

From Michael Silver
DateTue Feb 15 12:48:36 2011
Subject [greenstone-users] style.dm and extra.dm
In-Reply-To (AANLkTik1c4pUG-d5+axyOZ37auVtpJCeBmbzujfYwvPP-mail-gmail-com)
This may be a bit basic, but if you are re-defining for collection
specific uses, the entry in extra.dm has to include the package. Your
example doesn't show the package declaration. Does your extra.dm file
contain

package Style

{
<style type="text/css">
body.bgimage { background: url("/gsdl/web/images/flood1937.jpg") left top; background-repeat:no-repeat; }
</style>
}

Another possibility - have you changed the definition of /gsdl/web/images to somewhere else? I usually have put the image in a collection-specific path, and then put the full path in the extra.dm file.

I know these are rather basic suggestions, but ...

Good luck!

Michael

On 14/02/2011 1:19 PM, Sean Mitchuson wrote:
> I wanted to send this again because the other one didn't seem to load
> right so I'm again.
>
> I have body.bgimage defined in the style.dm file and it works great.
> I want to be able to use extra.dm in specific collections to override
> this but for some reason I can't. Is there something I need to switch
> on to tell a collection to use the extra.dm file?
>
> What is the exact code I need to use for extra.dm to set a proper
> bgimage in there right now i'm using.
>
> {
> <style type="text/css">
> body.bgimage { background: url("/gsdl/web/images/flood1937.jpg") left
> top; background-repeat:no-repeat; }
>
> </style>
> }
>
> But this do not work for me.
>
> Any help would be appricated.
>
> --
> Sean Mitchuson
> Library Tech Coordinator
> Murray State University
> Murray, Ky
> Phone: 270.809.4773
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users