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

From Sean Mitchuson
DateTue Feb 15 17:10:07 2011
Subject [greenstone-users] style.dm and extra.dm
In-Reply-To (4D59BF3D-7070102-farpan-net)
I'm afraid I don't understand what you mean by package Style. I
haven't seen any of that listed in any of the documentation I've read
about editing the extra.dm file so I'm curious about it. This could
be the solution to my problem.

On Mon, Feb 14, 2011 at 5:48 PM, Michael Silver <msilver@farpan.net> wrote:
> 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
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

--
Sean Mitchuson
Library Tech Coordinator
Murray State University
Murray, Ky
Phone: 270.809.4773