RE: [greenstone-users] CSS help AND Style sheet

From Jonathan Tremblay
DateMon, 20 Jun 2005 14:08:54 -0400
Subject RE: [greenstone-users] CSS help AND Style sheet
In-Reply-To (42DE7A71-9090202-esrl-lib-md-us)
Hi June and Henny,

Yes, css/stylesheet can be used with Greenstone.

The function which has to be modified is located in
greenstonemacrosstyle.dm :

GSDL Error {
<html>
<head>
<title>GSDL Error</title>

</head>

<body bgcolor="#ffffff" text="#000000" link="#006666"
alink="#cc9900" vlink="#666633" _1_>
}

You will have to add this line between <head> and </head> in the GSDL Error
function :
<link rel="stylesheet" href="/gsdl/web/images/YOURSTYLE.css" type="text/css"/>

You should replace YOURSTYLE.css with the name of your stylesheet.
In this example, the stylesheet file must be in the greenstoneimages
folder.

You can also take a look at the garish collection, available in the
"Documented Example Collections (42MB)" file which can be downloaded from
http://www.greenstone.org/cgi-bin/library?e=p-en-download-utfZz-8&a=p&p=down
load

Jonathan Tremblay


-----Message d'origine-----
De : greenstone-users-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] De la part de June
Yang
Envoyé : 20 juillet 2005 12:23
À : greenstone-users@list.scms.waikato.ac.nz
Objet : [greenstone-users] CSS help

Hi all,

I searched on this list about using CSS to format the pages and I came
across one example below:
http://srm-cd.niwi.knaw.nl/gsdl/cgi-bin/library.exe?a=p&p=home&l=en&w=utf-8
(click on the button says 1958-1980)
I noticed that this site used external css files. My question is: where
should these css files be put under gsdl directory and how to reference
them in the documents? Since pages such as browse by title/subject were
generated on the fly, I am kind of lost here. Can anybody help me with it?

Thanks,

June

-----Message d'origine-----
De : greenstone-users-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] De la part de
Henny Mariane Sutedjo
Envoyé : 20 juin 2005 02:14
À : greenstone-users@list.scms.waikato.ac.nz
Objet : [greenstone-users] Style sheet

Hi Group,

Does greenstone allow us to use style sheet?
I have tried to use both method: embed the style sheet inside the Web page
and use external style sheet. When I execute the Web page alone, it worked
fine. But, when I uploaded the collection into Greenstone, both method were
not working, there was no style adopted and all fonts went to normal (times
new roman). Any help would be appreciated. Thanks.

-henny


_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users