Hi Koha community! I've been trying to figure this one out. I can't seem to not show or hide Analytics: Look for articles in this serial through jquery or xslt. I want to not show it if it it does not have any analytics. Can somebody lead me on how do to it? We're using Koha 3.14 by the way.
By the way, here's the xslt (actually the default): <xsl:if test="$leader7='s'"> Analytics: <xsl:choose> <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]"> <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:text>Look for articles in this serial</xsl:text> </xsl:if> Thanks in advance and cheers! -- View this message in context: http://koha.1045719.n5.nabble.com/how-to-not-show-Look-for-articles-in-this-serial-in-Analytics-tp5799679.html Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha