Changeset 36982
- Timestamp:
- 2022-12-07T13:39:55+13:00 (12 months ago)
- Location:
- main/trunk/greenstone3/web/sites/localsite
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/sites/localsite/groupConfig.xml
r32554 r36982 16 16 17 17 Describe your groups in groupDescriptions element as shown in the example below. 18 You can do a simple, single language option, using the <title>, <description>, <shortDescription> elements. 19 Or you can use displayItems so that the text can be customised for different languages. Format like that in collectionConfig.xml. DisplayItem text can be directly added, or can come from a dictionary file, eg groupConfig.properties. 20 18 21 Without a matching group element in groupDescriptions, a group will display its group name only. 19 22 … … 26 29 their home pages will display their list of collections. --> 27 30 31 <groupConfig> 28 32 <!-- 29 <groupConfig>30 33 <hierarchy> 31 34 <group name="demo"> … … 50 53 </group> 51 54 <group name="standard"> 52 < title>Standard Demos</title>53 <d escription>These collections are the standard demonstration collections that come with a Greenstone binary release.</description>54 < shortDescription>Demonstration collections that come with the Greenstone binary.</shortDescription>55 <displayItem name="name" lang="en">Standard Demos</displayItem> 56 <displayItem name="description" lang="en">These collections are the standard demonstration collections that come with a Greenstone binary release.</displayItem> 57 <displayItem name="shortDescription" lang="en">Demonstration collections that come with the Greenstone binary.</displayItem> 55 58 </group> 56 59 <group name="dec"> 57 < title>Documented Example Collections</title>58 <d escription>These documented example collections describe how they are constructed on their about page. Useful for learning about different Greenstone features.</description>59 < shortDescription>Collections that describe how they were built.</shortDescription>60 <displayItem name="name" dictionary="groupConfig" key="dec.title"/> 61 <displayItem name="description" dictionary="groupConfig" key="dec.description"/> 62 <displayItem name="shortDescription" dictionary="groupConfig" key="dec.shortDescription"/> 60 63 </group> 61 64 </groupDescriptions> 62 </groupConfig>63 -->65 --> 66 64 67 65 68 <!-- If you want to put your collections into a specific order, you can list them in the hierarchy. Any unmentioned collections will be listed at the end. --> 66 69 67 70 <!-- 68 <groupConfig> 71 69 72 <hierarchy> 70 73 <collection name="solr-jdbm-demo"/> … … 72 75 <collection name="paradise-gardens"/> 73 76 </hierarchy> 74 </groupConfig> 77 75 78 --> 76 79 77 <groupConfig> 80 78 81 </groupConfig>
Note:
See TracChangeset
for help on using the changeset viewer.