Reputation: 13
I'm using Dspace v 6.3 xmlui, and the default theme (Mirage2)
I want to modify the visualization of the complete registry of the items, so the dublin core fields are shown by the tags and not the complete name of the field. Is this possible?
Right now, a complete registry in my Dspace looks like this:
I know I have to modify the item-view.xsl
file, but I have two doubts about it:
Most of the questions I've seen about this are refered to the summary view, but I want to modify the full view. I'm in the right file?
I don't know which part of the code is specifically for the tag.
Thank you very much
Upvotes: 0
Views: 471
Reputation: 1411
In lines 501-509 of item-view.xsl
, replace it with the code below. Note that you have to add each label that you want to display in the detailed view. In the example code below, I only included author, title, and the abstract label.
<td class="label-cell">
<xsl:choose>
<xsl:when test="@element='contributor' and @qualifier='author'">
<i18n:text>xmlui.dri2xhtml.METS-1.0.item-author</i18n:text>
</xsl:when>
<xsl:when test="@element='title'">
<i18n:text>xmlui.dri2xhtml.METS-1.0.item-title</i18n:text>
</xsl:when>
<xsl:when test="@element='description' and @qualifier='abstract'">
<i18n:text>xmlui.dri2xhtml.METS-1.0.item-abstract</i18n:text>
</xsl:when>
<!-- More to be added here -->
<xsl:otherwise>
<xsl:value-of select="./@mdschema"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="./@element"/>
<xsl:if test="./@qualifier">
<xsl:text>.</xsl:text>
<xsl:value-of select="./@qualifier"/>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</td>
Upvotes: 0