Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Change the fields listed in your DSpace Browse By options

Info
titleIn this   section you will learn you to add or remove options listed in the Browse By menu.   You will need to edit the files dspace.cfg and message.xml then reindex and restart DSpace
Table of Contents
minLevel2

 

Add/Remove Browse fields in

...

dspace.cfg

Open dspace.cfg and find the heading "###### Browse Configuration ######"  Scrolling down you will see uncommented lines that read " webui.browse.index…" this is where you will edit and add lines. 

...

Then add the lines

Code Block
none
none

<message key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.[name]">Browsing {0} by [Browse Field] {1}</message>
<message key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.[name]">Browsing {0} by [Browse Field] </message>

...


You will also need to add a line to artifactbrowser.Navigation.java section.  Find the heading <!- org.dspace.app.xmlui.artifactbrowser.Navigation.java -> and you will see fields for the existing browse options.

Add the line

Code Block
none
none
<message key="xmlui.ArtifactBrowser.Navigation.browse_[name]"

...

></message>

. Where [name] is the name you assigned in dspace.cfg and [Browse Field] is the field you are browsing by. These lines are the text displayed in the browse navigation bar.

...

Navigate to cd [dspace]/bin then type"./dspace index-init".  After have finished indexing restart DSpace.

Panel

This section was contributed by Catalina Oyler from the Five Colleges of Ohio