Solution found by doing a Google search - I've included the author's
name to give credit where credit is due. I made three changes to the
instructions:
[dspace-source]/dspace/modules/xmlui/src/main/weppapp/i18n/messages.xml did not
exist.
Changes made to
[dspace-source]/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/i18n/messages.xml
Added new dc field to input-forms.xml
Did not do deploy step.
"1. Add dc.description.consignmentnumber to the metadata registry of your
instance (I used /jspui-admin for this -MW)
2. change
[dspace-source]/dspace/modules/xmlui/src/main/weppapp/i18n/messages.xml
to include
<message
key="xmlui.ArtifactBrowser.Navigation.browse_consignmentnumber">Consignment
Number</message>
<message
key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.consignmentnumber">Browsing
{0} by Consignment Number {1}</message>
<message
key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.consignmentnumber">Browsing
{0} by Consignment Number</message>
3. change [dspace-source]/dspace/config/dspace.cfg
webui.browse.index[newNumber] =
consignmentnumber:metadata:dc.description.consignmentnumber:text
4. run mvn clean package
5. run ant init_configs update
6. stop your servlet container
7. run [dspace]/bin/index-init
8. deploy [dspace]/webapp/xmlui
9. start your servlet container
just tried it on 1.5.x and it worked fine.
Btw which database in which version are you using?
Claudia Jürgen"
Marvin Weaver
-------- Original Message --------
I must have missed something in what I've done which is:
Installed 1.5.2 on ubuntu
created a community and a couple of subcommunities
created a couple of collections
added a few citations without items to one collection
everything looked fine. Then:
created a new metadata schema using jspui/dspace-admin
moved one element from new schema to dc schema
added new dc element to input_forms.xml
added new dc element to search index in dspace.cfg
added new dc element to browse index in dspace.cfg
ran index_init
added a citation with new dc element
added message keys to messages.xml for new dc element
copied dspace.cfg to all places found by
find . -type f | grep dspace.cfg
did same for messages.xml
restarted tomcat often during above processes
ran ant update a couple of times during above processes
What happens:
new dc element appears as it should on view item page and full view page
But, using Dspace Home : Advanced Search
in drop down list, xmlui.ArtifactBrowser.AdvancedSearch.type_SJUfaculty
appears instead of SFU Faculty which is in messages.xml
Browse list in sidebar contains original list
search for xmlui.ArtifactBrowser.AdvancedSearch.type_SJUfaculty for
"Weaver" yields no results found and dropdown and Browse remain the same.
But, search for xmlui.ArtifactBrowser.AdvancedSearch.type_SJUfaculty
for "W" also yields no results but dropdown changes to SJU Faculty and
SJU Faculty appears in Browse
search for SJU Faculty for "Weaver, Marvin G" returns to same as
Dspace Home - without SJU Faculty in Browse
SJU Faculty in Browse works fine yielding proper results but
Dspace Home : trail changes to
xmlui.ArtifactBrowser.ConfigurableBrowser.trail.metadata.SJUFaculty
instead of SFU Faculty which is in messages.xml and
title changes to xmlui.ArtifactBrowser.Navigation.browse_SJUfaculty
instead of SFU Faculty which is in messages.xml and
Browse changes to xmlui.ArtifactBrowser.Navigation.browse_SJUfaculty
instead of SFU Faculty which is in messages.xml
column heading is
xmlui.ArtifactBrowser.ConfigurableBrowser.SJUfaculty.column_heading
instead of SFU Faculty which is in messages.xml
Could someone please point me to what I'm missing?
Thank you,
Marvin Weaver
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general