
In SharePoint MOSS 2007, when you turn on the custom scope in site collection’s “Search Settings”, most of search results will be displayed at /SearchCenter/Pages/results.aspx. The exceptions are at the contextual search (This site, This List: Documents etc) and it always displays the search result in OSSearchResults.aspx page, which you can not customize through web parts (as you can do with /SearchCenter/Pages/restuls.aspx). This trick seems works very well (original post here):
Open OSSearchResult.aspx in layout folder, and add this block:
I added right after the stylesheet block and I guess you can remove some un-used code block since this page will not be used at all.
No comments:
Post a Comment