How to hide the title count and heading type information on the subject heading results page
- Product: Voyager
- Product Version: 8.2.2
Question
How to hide the title count and type information that appears below each heading on the heading results page?
Answer
- On the Voyager server open the following file for editing: /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/[skin]/xsl/contentLayout/cl_resultsHeadings.xsl
- Locate the following section in the file:
<!-- ## headings results title data ## --> <xsl:for-each select="page:option/page:element[@nameId='page.searchResults.contents.title']"> <div class="resultTitle"> <div class="resultTitleLabel"><label><xsl:value-of select="page:label"/></label></div> <div class="resultTitleValue"><span><xsl:value-of select="page:value"/></span></div> </div> </xsl:for-each> <!-- ## headings results type data ## --> <xsl:for-each select="page:option/page:element[@nameId='page.searchResults.contents.type']"> <div class="resultType"> <div class="resultTypeLabel"><label><xsl:value-of select="page:label"/></label></div> <div class="resultTypeValue"><span><xsl:value-of select="page:value"/></span></div> </div> </xsl:for-each> </div>
- The title count and type information are formatted by each of these two sections. Use comment tags "i.e. <!-- , -->" to comment out each segment that should not be displayed in WebVoyage.
- Write the changes to the file and test.
- Article last edited: 15-Apr-2014