Re: [greenstone-users] Own Home page instead of About Page

From Marcin Malik
DateFri, 27 Apr 2007 08:22:16 +0200
Subject Re: [greenstone-users] Own Home page instead of About Page
In-Reply-To (463178AF-2080401-dlconsulting-co-nz)
Hi Richard
 
Thank you for your answer, now everything works perfect. To be honest after two days without answer I thought that my post was so lame that nobody bothers to answer. I'm not specialist in computer science, just a librarian like probably most of us, and we are first institution in Poland that try to implement Greenstone so there is nobody to ask.  There is a lot of misunderstandings or false informations about Greenstone in Poland for instance regarding polish diactric marks in Greenstone so libraries don't use Greenstone. I hope that our project will change a little the attitude to Greenstone in Poland.
 
Best Regards
 
Marcin Malik
 
 
----- Original Message -----
Sent: Friday, April 27, 2007 6:14 AM
Subject: Re: [greenstone-users] Own Home page instead of About Page

Hi Marcin,


Marcin Malik wrote:
My name is Marcin Malik, I’m reference librarian from University of Podlasie library in Siedlce, Poland. We are new to Greenstone, and we try to create our own Greeenstone collection. All goes well but we don’t like About Page. We changed the About page to our own Home page without using yourhome.dm or home.dm as home pages. But we want that Home button on browse pages to redirect  to our own home page. Is any way to change the links to do it because Home button still redirects to About Page instead to newly created our own Home Page.
The macro that displays the home link in default greenstone collections is

HOME {HOME}

in <greenstone install dir>macros av_css.dm

You can override this macro in your collections macros directory by:

Creating a <greenstone install dir>collect<your collection directory>macrosextra.dm file for your collection if it doesnt already exist.

Then by looking at the nav_css.dm we can see that HOME is in the Global macro package, so you need to add something like

package Global

HOME {http://www.your-home-page.com">HOME}


To your extra.dm file to link to your home page. 


Good luck,

Richard Managh
-- 
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com