Hi, you can use CSS to hide it totally - something like .analytics { display:none; } in OpacUserCSS should do the trick. As there is no indication on the record if an analytic record for it exists, there is no easy way to do what you want.
Katrin -----Ursprüngliche Nachricht----- Von: Koha im Auftrag von schnydszch Gesendet: So 01.06.2014 12:42 An: koha@lists.katipo.co.nz Betreff: [Koha] how to not show Look for articles in this serial in Analytics 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 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha