Xmlui Dspace 6.3 mapping dublin core tags

37 views
Skip to first unread message

Massimiliano CILURZO

unread,
Jun 10, 2019, 8:26:03 AM6/10/19
to DSpace Technical Support
Dear All, 
we have migrated from dspace 5.6 do 6.3, unfortunately we can't use the old xmlui theme on the new server because it gives a lot of error.
We are modifying the Mirage2 template but even if I have modified the message.xml in the "item full view" page I see the field "dc.creator"  while the field must be "Author".
How I can modify the label of every dublin core field?
Thanks
Best regards
Massimiliano


Massimiliano CILURZO

unread,
Jul 29, 2019, 5:28:48 AM7/29/19
to DSpace Technical Support
Dear all,
    There is someone that have the same issue?
in the item full view we can't see the correct label, we can see only the dublin core code for that tag.
Thanks
Best regards
Massimiliano

Paul Münch

unread,
Aug 8, 2019, 1:47:17 AM8/8/19
to dspac...@googlegroups.com
Dear Massimiliano,

we use customised keys in messages.xml at other places. Per default changes are update even without any additional action. Maybe there is a caching problem. Try to delete the browser or Tomcat ([tomcat-dir]/work) cache and restart the service.

If there is still the problem, we need more information about your implementation, I guess.

I hope this helps and kind regards,

Paul Münch

Am 29.07.19 um 11:28 schrieb Massimiliano CILURZO:
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/47bd9c98-5bf8-4700-b213-fbdb60c2bbf3%40googlegroups.com.

-- 
Philipps-Universität Marburg | UB 
Digitale Dienste | Deutschhausstraße 9 | D018
Tel. +49 06421 28-24624  
--
signature.asc

Massimiliano CILURZO

unread,
Sep 3, 2019, 10:32:11 AM9/3/19
to DSpace Technical Support
Dear Paul,
   I  have tried to delete the browser and tomcat cache and restarted the service.
But the problem isn't solved.
Which information about the implementation do you need? we use mirage2 as default theme on dspace 6.3.
Thanks
Best regards
Massimiliano

To unsubscribe from this group and stop receiving emails from it, send an email to dspac...@googlegroups.com.

Tim Donohue

unread,
Sep 4, 2019, 12:26:59 PM9/4/19
to Massimiliano CILURZO, DSpace Technical Support
Hello,

The behavior you describe is the default behavior of DSpace.  When viewing the "full item record", you will always see the full name of every dublin core field.  The labels (like Author, Date, etc) are only visible on the "simple item record".

So, you can see that same behavior on the demo site (running v6.3 with Mirage 2 theme):
If you wanted to change this behavior, I believe you'd have to modify the theme directly.  More specifically, it looks like this is the XSL template that hardcodes the full dublin core name for the "Full" (or Detailed) view: https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl#L473  I've never made this change before though, so I cannot offer other advice.  Perhaps someone else on this list has done this though and can share ideas or code.

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Massimiliano CILURZO <mcil...@unisa.it>
Sent: Tuesday, September 3, 2019 9:32 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] Re: Xmlui Dspace 6.3 mapping dublin core tags
 
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/756027ca-d3e3-46af-8778-470f57c1d6a6%40googlegroups.com.

Massimiliano CILURZO

unread,
Sep 4, 2019, 1:27:59 PM9/4/19
to DSpace Technical Support
Dear Tim,
   Thanks for your advice, with DSpace 5.6 we had mirage 2 theme modified from the longsight theme and the full item record view with the label, so I thought was the deault behavor.
I have modified the message files but this isn't sufficent evidently.
Thanks
Best regads
Massimiliano

Tim Donohue

unread,
Sep 4, 2019, 3:16:34 PM9/4/19
to Massimiliano CILURZO, DSpace Technical Support
Just to clarify, modifying the "message.xml" file won't work in this scenario.  The "Full Item Record" does not use that messages file (at all) when displaying the field names, instead it just displays the dublin core. (Only the "Simple Item Record" uses the messages.xml file)

So, if you want to change that behavior, you will need to modify the theme (as I described).  Here's the main template that seems to display those Dublin core field names: https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl#L473

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Massimiliano CILURZO <mcil...@unisa.it>
Sent: Wednesday, September 4, 2019 12:27 PM
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/a614a74c-4362-47b1-a662-d0537e65038e%40googlegroups.com.

Massimiliano CILURZO

unread,
Sep 4, 2019, 3:53:11 PM9/4/19
to DSpace Technical Support
Dear Tim,
    Thanks for your clarification
  I'll try to change the beahvor of the full item view, as you suggested.
Best regards
Massimiliano
Reply all
Reply to author
Forward
0 new messages