WebLink 7 enabled you to change the number of context hits displayed after performing a search by editing the Search.aspx page. Doing so in WebLink 8 or WebLink 9 will not edit the number of context hits displayed.
To change the number of context hits in WebLink 8 or WebLink 9, edit the SearchResults.xsl page.
- Open SearchResults.xsl by navigating to the Web Files\xsl subfolder in the WebLink installation folder. By default, the file will be located at C:\Program Files\Laserfiche\WebLink 8\Web Files\xsl\SearchResults.xsl or C:\Program Files\Laserfiche\WebLink\Web Files\xsl\SearchResults.xsl.
- Look for the line: xsl:for-each select='ContextHits/ContextResult[position() < 6]'
- Replace the last number (in this example, the number 6) with a number that is one digit more than the number of context hits you want displayed. For example, if you want 20 context hits displayed, enter the number 21.
Note: WebLink can display a maximum of 20 context hits per entry.