Helix, Thanks for the help, the code is working and will remove the list from the home page.
Here is my problem. Currently in production we are using collapsible list for the community browse page, which you can see here: http://udspace.udel.edu/community-list. This is in version 3.1 using the XMLUI. I was able to remove the community list from the main page but commenting out the template call in the xslt, I did not use the overriding template method. When I use the code provided, the collapsible list will partly work, but the arrow icons do not appear, when viewing the community list. Thanks Keith On Thu, Aug 13, 2015 at 9:07 AM, helix84 <heli...@centrum.sk> wrote: > Try this: > > <xsl:template name="hide_homepage_community-list" > match="dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']"> > <xsl:if > test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']/text()"> > <xsl:apply-templates /> > </xsl:if> > </xsl:template> > > It hides the community browser unless the request URI is non-empty (like > "/community-list"). > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > >
------------------------------------------------------------------------------
_______________________________________________ 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