Hi David,

you're already super close. If you want to add the fields in the left
section of the item page, add them under  <div class="col-sm-4">, if you
want them to appear in the wider, right section of the item page, put them
under <div class="col-sm-8">.

The thing you need to add is a call to a template that will render your
field, for type, you could call your new template:

<xsl:call-template name="itemSummaryView-DIM-type"/>

Look further down in item-view.xsl for an example of such a template that
renders a metadata field, for example,
itemSummaryView-DIM-abstract.

Copy that, and use it to call the contents of dc.type.

hope this helps,

Bram

[image: logo] Bram Luyten
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
atmire.com
<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>

On 15 December 2016 at 20:57, David Brian Holt <[email protected]> wrote:

> Sorry to be such a pest on this forum this week.  I'm VERY close to being
> done with this project.  Thank you to everyone who has helped me!
>
> I have one last issue that I've been asked to resolve.  We want to display
> the "dc:subject" and "dc:type" metadata fields in the item summary view on
> XMLUI.  I did some reading online and I think some of the tutorials for
> this may be out of date (I'm running Dspace 6).
>
> I believe this is the relevant section in item-view.xsl:
>
> <xsl:template match="dim:dim" mode="itemSummaryView-DIM">
>         <div class="item-summary-view-metadata">
>             <xsl:call-template name="itemSummaryView-DIM-title"/>
>             <div class="row">
>                 <div class="col-sm-4">
>                     <div class="row">
>                         <div class="col-xs-6 col-sm-12">
>                             <xsl:call-template name="itemSummaryView-DIM-
> thumbnail"/>
>                         </div>
>                         <div class="col-xs-6 col-sm-12">
>                             <xsl:call-template name="itemSummaryView-DIM-
> file-section"/>
>                         </div>
>                     </div>
>                     <xsl:call-template name="itemSummaryView-DIM-date"/>
>                     <xsl:call-template name="itemSummaryView-DIM-authors"
> />
>                     <xsl:if test="$ds_item_view_toggle_url != ''">
>                         <xsl:call-template name="itemSummaryView-show-
> full"/>
>                     </xsl:if>
>                 </div>
>                 <div class="col-sm-8">
>                     <xsl:call-template name="itemSummaryView-DIM-abstract"
> />
>                     <xsl:call-template name="itemSummaryView-DIM-URI"/>
>                     <xsl:call-template name="itemSummaryView-collections"
> />
>                 </div>
>             </div>
>         </div>
>     </xsl:template>
>
> Any idea how I can add these fields?
>
> Thanks!
>
> David
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to