(Jump to other KnowledgeBases)
DSpace Resources
DSpace Website
DSpace Documentation
DSpace Wiki
DSpace Demo Site
Contribute to KnowledgBase
Info | ||||
---|---|---|---|---|
| ||||
|
...
Open dspace.cfg and find the heading "###### Browse Configuration ######" Scrolling down you will see uncommented lines that read " webui.browse.index...index…" this is where you will edit and add lines. unmigrated-wiki-markup
The browse functions are written as "webui.browse.index.# = \ [name\]:metadata:\[schema\].\[element\].\[qualifier\]:\[field type\]"
...
Open message.xml and find the heading <!- - org.dspace.app.xmlui.artifactbrowser.ConfigureableBrowse.java -->. You need to add four lines for each new browse category in this section. If you look through the section you will see the same lines for the preexisting browse categories scattered through the text.unmigrated-wiki-markup
First add "<message key="xmlui.ArtifactBrowser.ConfigurableBrowse.\[name\].column_heading">\[Browse Name\]</message>" Where \ [name\] is the name you assigned in dspace.cfg and \ [Browse Name\] is the title you want to appear in browse menu in DSpace. These fields are the text displayed at the top of a browse list. !Screen shot 2012-03-26 at 11.26.06 AM.png|border=1! Then add the lines " Wiki Markup
Then add the lines
Code Block | ||||
---|---|---|---|---|
| ||||
<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> |
Where ." Where \ [name\] is the name you assigned in dspace.cfg and \ [Browse Field\] is the field you are browsing by. These fields create the different browse page headings.
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 line Wiki Markup
Code Block | ||||
---|---|---|---|---|
| ||||
<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.
Before existing items can be searched or browsed you need to re-index you instance.
Navigate to cd /usr/local/[dspace]/bin then type"./dspace index-init". After your index has have finished indexing restart DSpace.
Panel |
---|
This section was contributed by Catalina Oyler from the Five Colleges of Ohio |