From: Anupama of Greenstone Team
Date: Wed Dec 10 16:18:44 2008
Subject: [greenstone-users] Re: Customization
In reply to: 20D14A2AD8E423468EF08E2AB9352DA23D9C987819-SGPMBX01-APAC-bosch-com

Hi,

> 1. Want to change the appearance of the word *"search"* given in the
> circle that is from small letters to capital letters. How to do this?
> (pls see screenshot-1)

a. Open up the file GSDLHOME/images/style.css in a texteditor

b. Look for the definition of p.bannertitle in this css file.

c. Change its text-transform attribute value from lowercase to uppercase
instead.
Your p.bannertitle may then look like:

/* the title set by the receptionist based on the page action */
p.bannertitle {
font-family: sans-serif, arial, helvetica;
font-size: 24px;
font-weight: bold;
margin: 10px 0 0 0;
text-transform: uppercase;
white-space: nowrap;
padding: 6px 2px 10px 0px;
background-repeat: repeat-y;
background-position: top right;
}


> 2. Want to add some more text/contents in the collection home
> page(apart from the present text highlighted in the circle), how to
> add some more contents ? (Pls see screenshot-2)

Please have a look at the tutorial page
http://wiki.greenstone.org/wiki/gsdoc/tutorial/en/using\_macro\_files.htm

You can also add a longer description for your collection (which goes
into the collection's main page) through GLI. Go to the Format tab,
select General on the left, and in the large text area on the right, add
more text.


> 3. Want to change the appearance of the text in *"How to find
> information in the....."* given in the circle that is from small
> letters to First letter/Character capital letters. How to do this?
> (pls see screenshot-2)

a. Open up the file GSDLHOME/macros/english.dm in a texteditor.

b. Find the line
\_textsimplehelpheading\_ {How to find information in the \_collectionname\_
collection}

c. Change this line to
\_textsimplehelpheading\_ {How To Find Information In The \_collectionname\_
Collection}

d. Restart your Greenstone 2 server and check that it has the correct case.


> 4. Want to change the colour of navigation bar, how & where to make
> this change?

The image GSDLHOME/images/bg\_green.png is used as the navigation bar.
Either:
a. open up the file GSDLHOME/macros/style.dm and replace the uses of
bg\_green.png with the name of the image file you want to use in its
stead, or
b. create a new PNG image for your navigation bar and name it
bg\_green.png and replace the existing one in the folder GSDLHOME/images

At present, the style.dm file contains:
\_cssheader\_ {
\_csslink\_
<style type="text/css">
body.bgimage \\{ background-image: url("\_httpimg\_/chalk.gif"); \\}
div.navbar \\{ background-image: url("\_httpimg\_/bg\_green.png"); \\}
div.divbar \\{ background-image: url("\_httpimg\_/bg\_green.png"); \\}
a.navlink \\{ background-image: url("\_httpimg\_/bg\_off.png"); \\}
a.navlink\_sel \\{ background-image: url("\_httpimg\_/bg\_green.png"); \\}
a.navlink:hover \\{ background-image: url("\_httpimg\_/bg\_on.png"); \\}
p.bannertitle \\{background-image: url("\_httpimg\_/banner\_bg.png"); \\}
p.collectiontitle \\{background-image: url("\_httpimg\_/banner\_bg.png"); \\}
</style>
\_collectionspecificstyle\_

}

Regards,
Anupama


Emmanuel E C (RBEI/HRL1-D-KCI) wrote:
> Dear Sir/Madam,
>
> Kindly let me know how to make the following changes in GSDL.
>
> 1. Want to change the appearance of the word *"search"* given in the
> circle that is from small letters to capital letters. How to do this?
> (pls see screenshot-1)
>
> 2. Want to add some more text/contents in the collection home page(apart
> from the present text highlighted in the circle), how to add some more
> contents ? (Pls see screenshot-2)
>
> 3. Want to change the appearance of the text in *"How to find
> information in the....."* given in the circle that is from small letters
> to First letter/Character capital letters. How to do this? (pls see
> screenshot-2)
>
> 4. Want to change the colour of navigation bar, how & where to make this
> change?
>
> *ScreenShot-1*
>
> *Screenshot-2*
> *Regards
> Emmanuel E.C
> *K-Center & Information Services,
> Robert Bosch Engineering and Business Solutions,
> #123,Industrial Layout, Hosur Road ,Koramangala,
> Bangalore-95, INDIA
>
> Ph.No-080- 6657-1497
>