Contents
To implement the news scenario, use the SharePoint Search Results web part and default display templates to display the news information, including title, description, and rollup image. Show the first ten news items. When the user chooses the rollup image, title, or Read More link, the news article page is loaded.
How can I change how event results are displayed?
To do this, specify ContentClass:STS_ListItem_Events for the web part’s query text. To change how event results are displayed, create custom display templates to render the event information. You can modify the item display template so that when the user chooses the image, title, or Read More link, the event information page is loaded.
Why do search results not return the page?
When I copy/paste the table as rendered by the server side rendering code and put it on the page itself, search does return the page. So either the content is not rendered properly when it is indexed by search, or search is filtering out that content for some reason. Update 2: the scenario changed a little bit.
In Display Templates, select Use result types to display items. Select Basic Site Directory in the Result type for item list. In the Appearance section, change the Title to Sites I have access to. Choose OK to save the changes to the web part and to close the Web Part tool pane.
Create customized SharePoint and SharePoint Online search scenarios by using a search-based site directory, personalized search results, or search configuration portability. SharePoint search enables you to create a search-based site directory without writing any custom code.
How can I customize event display in SharePoint?
You can modify the item display template so that when the user chooses the image, title, or Read More link, the event information page is loaded. You can also modify the control display template so that when the user chooses See More, the next ten event results are displayed in the web part.