David, Thanks so much. This really helps clear up the matching issues I was having trouble with. It worked perfectly.
I should have been more specific, I wanted it removed from certain themes, so on those themes I am just matching and doing nothing within the template match. Thanks again! Damian Marinaccio -----Original Message----- ------------------------------ Message: 5 Date: Thu, 14 May 2009 11:27:40 -0700 From: "Walker, David" <[email protected]> Subject: Re: [Dspace-tech] Hide "My Account" in Manakin To: "[email protected]" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="Windows-1252" Hey Damian, You probably want something like this in your theme XSLT (un-tested, sorry): <xsl:template match="dri:options/dri:li...@n = 'account']" priority="5"> <xsl:if test=" [ page logic here ] "> <xsl:apply-templates select="dri:head" /> <div> <xsl:call-template name="standardAttributes"> <xsl:with-param name="class">ds-option-set</xsl:with-param> </xsl:call-template> <ul class="ds-simple-list"> <xsl:apply-templates select="dri:item" mode="nested"/> </ul> </div> <xsl:if> </xsl:template> If you wanted to remove the My Account box completely, you could just have this template do nothing. But to have it appear on *certain* pages, you're going to have to replace the '[ page logic here ]' above with some kind of XPath expression that would look at, for example, the request URI data in the <meta> section of the Manakin XML, or perhaps the 'n' attribute on the first <div> in the <body> section. Based on the values there, you could control which pages would continue to render this option. --Dave ================== David Walker Library Web Services Manager California State University http://xerxes.calstate.edu ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

