Tech Tip: Default Search Options in WebLink 7.0.5

November 17th, 2008 Comment on this article

Make it easier for users to find what they are looking for in WebLink! You can customize your Web Link installation to display specific search options when users view the Search tab. If search types are defined prior to viewing the Search tab, the choices users need to make will be limited, making it easier and faster for them to search. For example, you can lock down the search to only show the Text search so users don’t have to view all the different search types and decide which ones to use. To do this, modify the code in Search.aspx. Following the instructions below will result in only the Text search being displayed.

Note: The following instructions use Microsoft Visual Studio 2008. If using a different programming environment, these steps may vary.

Note: Make a copy of the Search.aspx page just in case you need to revert to it.

To modify the default search options to only display the text search

  1. Browse to C:\Program Files\Laserfiche\WebLink 7\Web Files.
  2. Open Search.aspx.
  3. Find <weblink:searchform id=”TheSearchForm” runat=”server” Height=”100%” Width=”229px”
    • Note: The values for runat, Height, and Width may vary depending on your individual settings.
  4. After this code, type
    AllowCustomization=”False” ShowText=”True” ShowWebLink=”False”
  5. Save Search.aspx.
  6. Navigate to WebLink (http://localhost/weblink7). If WebLink is already open, refresh the page.
  7. Click the Search tab.
  8. Users will only see the Text search.

weblink-default-search

Tags:

Comment on this article