On Mon, Aug 20, 2012 at 7:15 PM, Jose Blanco <[email protected]> wrote:
> But if I override this template it will affect all the item displays. I
> just want the display of the items in one of the collections.
Oh, right. Copy the template itemSummaryView-DIM-fields to
itemSummaryView-DIM-fields-custom, modify it as you need and then
choose which one to apply based on current container handle:
<xsl:template match="dim:dim" mode="itemSummaryView-DIM">
...
<xsl:choose>
<xsl:when
test="/dri:document/dri:meta/dri:pageMeta/dri:trail[@target='/handle/12345678/123']">
<xsl:call-template name="itemSummaryView-DIM-fields-custom" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="itemSummaryView-DIM-fields" />
</xsl:otherwise>
</xsl:choose>
Regards,
~~helix84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech