You need to make the link from the home page to point to the browse page
rather than to the about page (instead of changing the about page).
The icons and links to the collections on the home page are defined by
the _homeextra_ macro. This macro is constructed in the c++ code (in
gsdl/src/recpt/pageaction.cpp, home_images method)
There are two ways to change this.
1. edit the c++ code to make the links different. advantage: you can add
new collections and they will still automatically show up in the home
page. disadvantage: the links will be hard coded, and will be the same
for each collection. you need to compile c++.
2. edit home.dm, and create a new macro, eg _myhomeextra_ and use this
The requested page could not be found. Please use
your browsers 'back' button or the above home button to return to the
Greenstone Digital Library. macro instead of _homeextra_.
You will need to hard code a link to each collection in it.
advantage: easy to implement and each collection can link to a different
first page if need be.
disadvantage: you need to explicitly list each collection in the macro
file - if you add a new collection to the library it won't show up
See yourhome.dm for examples of linking to other pages of a collection.
Chaitra Rao wrote:
> Hi All,
> I wanted to change the format of the page that opens up when I open a
> collection. Currently, the page displays:
> About this collection
> Text about collection
> How to find information in the Test-MLA collection
> blah,blah blah....
> I don't want to view any text, instead, I want to be able to view the
> browse page as soon as I open the collection. Can someone help me with
> this? I opened all the .dm files to locate where this text is generated
> and found it in emglish.dm. I assume, some perl script picks them up and
> displays on the browser but I'm unable to locate this file and what to do
> next :). Can someone help?
> greenstone-users mailing list