Friday, March 9, 2012

Removing author from search results

Follow these instructions to remove the author from search results.

- Navigate to the Advanced Search Page;
- Perform a search to return some search results;
- Edit the page (Site Settings | Edit Page);
- Edit the Search Core Results WebPart (Edit | Modify Shared WebPart);
- Under the Data View Properties click the XSL Editor button;
- Select all the XSL and save it somewhere to back up the default XSL;

Remove these lines and save the changes.
< xsl:call-template name="DisplayString">
<xsl:with-param name="str" select="author" />
< /xsl:call-template>

Hope this will help!                   

No comments:

Post a Comment