Thanks for your interest, Michael.  My template is below.  I mocked up this
template from another template in the same file (item-view.xsl).  When I
pull up the summary item view, I see no 'rights' field.  If I look at the
source when running the app, I can see a value assigned to rights. I feel
like the data is there, it's just not appearing on the page.  I'm not sure
where else to update but the messages.xml and the item-view.xsl.  Because
this is a new field, do I need to declare it somewhere else as well?  Would
it require a recompile of DSpace versus just bouncing the tomcat server?
Any advice you can provide is appreciated.

 <xsl:template name="itemSummaryView-DIM-rights">
   <xsl:if test="dim.field[@element='rights' and not(@qualifier)]">
       <div class="simple-item-view-rights item-page-field-wrapper table">

<h4><i18n:text>xmlui.dri2xhtml.METS-1.0.item-rights</i18n:text></h4>
          <hr class="visible-xs section-hr"/>
          <div>
              <xsl:for-each select="dim:field[@element='rights' and
not(@qualifier)]">
                        <xsl:choose>
                            <xsl:when test="node()">
               <xsl:copy-of select="node()"/>
               </xsl:when>
                   <xsl:otherwise>
                  <xsl:text>&#160;</xsl:text>
               </xsl:otherwise>
                </xsl:choose>
              <xsl:if
test="count(following-sibling::dim:field[@element='rights' and
not(@qualifier)]) != 0">
                  <div class="spacer">&#160;</div>
              </xsl:if>
              </xsl:for-each>
                   <xsl:if test="count(dim:field[@element='rights' and
not(@qualifier)]) &gt; 1">
              <div class="spacer">&#160;</div>
              </xsl:if>
               </div>
           </div>
       </xsl:if>
    </xsl:template>


On Tue, Jul 27, 2021 at 10:21 AM Michael Plate <
[email protected]> wrote:

> Hi Sarah,
>
>
>
> Am 27.07.21 um 16:10 schrieb Sarah Butash:
> > Hello,
> >
> > Just following up to see if anyone can give any advice....
> […]
>
> could you please share the template ?
>
> CU
>
> Michael
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/fdc67ced-0e66-1879-3020-53a853ed8a74%40bibliothek.uni-kassel.de
> .
>


-- 

Sarah Butash

she / her

Library Systems Analyst, OU Libraries

Kresge Library, Room 227

100 Library Drive, Rochester, MI  48309-4479

Phone: 248-370-2368

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAGdTMAoZ--GgQbcwJ827MagOhjFPaSqZ2sNcGUmYKpy6v5nGJw%40mail.gmail.com.

Reply via email to