Hi Helix,
Iam happy if you told me the exact location where should I put the code.I put
it inside item-view.sxl but brings some error
javax.xml.transform.TransformerException: xsl:template is not allowed in this
position in the stylesheet!
context:/jndi:/xxxxxxxxxxxxxxxx/themes/xxx/lib/xsl/aspect/artifactbrowser/item-view.xsl
- 128:167
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, April 08, 2013 4:28 PM
To: Webshet, Sisay (ILRI)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] blocking Recent submssions
Hi Sisay,
here's the code:
<xsl:template name="disable_collection_recent-submissions"
match="dri:div[@id='aspect.artifactbrowser.CollectionRecentSubmissions.div.collection-recent-submission']">
<xsl:if test="//dri:metadata[@element='request' and @qualifier='URI']/text()
!= 'handle/123456789/123'">
<xsl:apply-templates />
</xsl:if>
</xsl:template>
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette