[greenstone-users] Re: Customization

From Anupama of Greenstone Team
DateWed 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 Greenstone Archives collection
collection}

c. Change this line to
_textsimplehelpheading_ {How To Find Information In The Greenstone Archives collection
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:
{

<style type="text/css">
body.bgimage { background-image: url("/gsdl/web/images/chalk.gif"); }
div.navbar { background-image: url("/gsdl/web/images/bg_green.png"); }
div.divbar { background-image: url("/gsdl/web/images/bg_green.png"); }
a.navlink { background-image: url("/gsdl/web/images/bg_off.png"); }
a.navlink_sel { background-image: url("/gsdl/web/images/bg_green.png"); }
a.navlink:hover { background-image: url("/gsdl/web/images/bg_on.png"); }
p.bannertitle {background-image: url("/gsdl/web/images/banner_bg.png"); }
p.collectiontitle {background-image: url("/gsdl/web/images/banner_bg.png"); }
</style>

}

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
>