You can change the WebLink 8 search results style (paragraph) to look like the search results in WebLink 7 (columns). You can change how the search results look on the Search Page, Welcome Page, and Custom Search Page.
Search Page
- In Microsoft Visual Studio 2008, open the WebLink8.vbproj file located at (Install Directory)\Laserfiche\WebLink\Web Files.
- Open the Search.aspx file.
- Change "searchresultbrowser8" near line 67 to "searchresultbrowser".
- The context hits are commented out with <!-- and -->. Remove the comments by removing these symbols or highlighting these symbols and all the text between them and selecting Uncomment the selected lines button from the HTML Source Editing toolbar. If this toolbar is not displayed, select View, Toolbars, HTML Source Editing.
- Save and close the Search.aspx file.
- Open the Search.aspx.vb file.
- Search for "TheSearchResultsBrowser.AllowImageEnable = True" near line 165 and comment that code out using the Comment out the selected lines button on the HTML Source Editing toolbar.
- Save and close the Search.aspx.vb file.
- Build the solution by selecting Build, then Build Solution from the menu bar.
Welcome Page
- In Microsoft Visual Studio 2008, open the WebLink8.sln file located at (Install Directory)\Laserfiche\WebLink\Web Files.
- Open the Welcome.aspx file.
- Change "searchresultbrowser8" near line 43 to "searchresultbrowser".
- Save and close the Welcome.aspx file.
Custom Search Page
- In Microsoft Visual Studio 2008, open the WebLink8.vbproj file located at (Install Directory)\Laserfiche\WebLink\Web Files.
- Open the CustomSearch.aspx file.
- Change "searchresultbrowser8" near line 35 to "searchresultbrowser".
- Save and close the CustomSearch.aspx file.
- Open the CustomSearch.aspx.vb file.
- Search for "SearchResults.Summary = e.Summary" near line 78 and comment that code out using the Comment out the selected lines button on the HTML Source Editing toolbar.
- Save and close the CustomSearch.aspx.vb file.
- Build the solution by selecting Build, then Build Solution from the menu bar.
Note: You may get a parser error when trying to view WebLink after you build the solution. If this happens, search for and change the ID of the "searchresultbrowser" tag from "TheSearchResultBrowser" (near line 71) to anything else and build the solution. It will most likely fail. Change it back to "TheSearchResultBrowser" and build again.
- 1012912 WebLink 8.2 Visual Studio Project File References May Need to be Re-Added When First Opened