|
Hi, On 28/05/15 18:05,
[email protected] wrote:
I am trying to add search by Type eg Book or Book chapters in the Discovery menu side bar. There is documentation here: https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-BrowseIndexConfiguration (scroll down to "Defining the Indexes"). Essentially, in your dspace.cfg file there will be a block like this: webui.browse.index.1 =
dateissued:metadata:dc.date.issued:date:fullwebui.browse.index.2 =
author:metadata:dc.contributor.*:textwebui.browse.index.3 =
title:metadata:dc.title:title:fullwebui.browse.index.4 =
subject:metadata:dc.subject.*:text#webui.browse.index.5 =
dateaccessioned:item:dateaccessionedYou'll need to add a
line, continuing the numbering without counting commented-out
lines, eg (assuming your type metadata is in dc.type):webui.browse.index.1 =
dateissued:metadata:dc.date.issued:date:fullwebui.browse.index.2 =
author:metadata:dc.contributor.*:textwebui.browse.index.3 =
title:metadata:dc.title:title:fullwebui.browse.index.4 =
subject:metadata:dc.subject.*:textwebui.browse.index.5 =
type:metadata:dc.type:textYou will most likely need to add some translations to your Messages.properties (if using JSPUI) or messages.xml (if using XMLUI) file, see https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n for help. You will also need to re-index Discovery to get the type browse to work. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand |
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

