User Tools

Site Tools


en:user:collection_grouping

This is an old revision of the document!


Collection Grouping

By default, the Greenstone home page will display a grid of all valid collections. This can get quite crowded if there are a number of collections. "Collection groups" enables collections to be grouped into a subset with only one icon/link on the home page. Clicking the Group icon takes you to a group 'about page', which displays all the collections in that group.

<TABAREA tabs="Greenstone3,Greenstone2"> <TAB> Actually I think greenstone 3 version is completely different??? TODO </TAB> <TAB>

This is accomplished by putting a group folder inside the collect folder (greenstone2/collect). All collections belonging to that group need to be moved into the group subfolder.

Then a collect.cfg configuration file is needed for the group. This lives in an etc folder inside the group. The format is a very cut down version of a standard collection's config file. The key item is the collectgroup specifier.

creator       [email protected]
maintainer    [email protected]
public        true
collectgroup  true


collectionmeta collectionname    "groupA"
collectionmeta iconcollection    ""
collectionmeta collectionextra   "This is a group of special collections"

</TAB> </TABAREA>

en/user/collection_grouping.1549317851.txt.gz · Last modified: 2019/02/04 22:04 by kjdon