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

From Richard Managh
DateFri, 27 Apr 2007 16:14:39 +1200
Subject Re: [greenstone-users] Own Home page instead of About Page
In-Reply-To (003301c780ea$63132490$4732a8c0-BIB0107)
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 redirectto 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