Add a search page to your FrontPage 2003 Web site

There are two ways to add search capabilities to your Microsoft Office FrontPage 2003 Web site, depending on your needs. You can add a search text box to an existing page or add a separate search page.

Both methods put the FrontPage Web Search component on a page in your site. This component requires FrontPage 2002 Server Extensions from Microsoft.

The search page that comes with the FrontPage page templates has the search text box and is pre-populated with information for site visitors about how to create queries. As you can with any other Web pages in your site, you can change the search page to match the look and feel of your site. In addition, you can reformat, edit, or remove the existing text entirely. You can also customize the page with images, tables, or other visual components.

 Note   If you are not sure that your server is running FrontPage Server Extensions, contact your hosting provider or server administrator.

To add a search text box to an existing page, see Add a Web search text box to a FrontPage 2003 Web page.

To add a search page

  1. On the File menu, click New.
  2. In the New task pane, under New page, click More page templates.
  3. In the Page Templates dialog box, on the General tab, click Search Page, and then click OK.

ShowIf the Search Page template is unavailable

Because Web Search is a Browse-Time Web Component, you need to make sure that Browse-Time Web Components are activated.

  1. On the Tools menu, click Page Options.
  2. In the Page Options dialog box, click the Authoring tab.
  3. Under FrontPage and SharePoint technologies, select the Browse-Time Web Components check box, and then click OK.
  1. In Design view, double-click the Search for text box.
  2. In the Search Form Properties dialog box, indicate what you want on each of the following tabs:

ShowSearch Form Properties tab

Label for input     This is the caption for the text box in which users enter search terms. The default is Search for. If you want to change it, type the new caption over the default.

Width in Characters     This is the width of the search text box in number of characters. The default is 20 characters. If you want to change it, type the new number over the default.

Label for "Start Search" Button     This is the caption for the button that begins the search. The default is Start Search. If you want to change it, type over the default.

Label for "Reset" Button     This is the caption for the button that clears the form. The default is Reset. If you want to change it, type over the default.

ShowSearch Results tab

Word list to search     This specifies which folders in the Web site to include in the search. The default, All, searches all pages in the current Web site. To limit the search to a specific folder, type the name of that subfolder.

Date format     This is the format for displaying the date. The Date format text box is unavailable unless you also select the Display file date check box under Display options.

Time format     This is the format for displaying the time. The Time format text box is unavailable unless you also select the Display file date check box under Display options.

Display score (closeness of match)     This indicates in percentages how close the results are to the original search terms.

Display file date      This displays the date that the file was last published in the search results.

Display file size (in K bytes)     This displays the size of the file in the search results.

  1. Click OK.
 
 
Applies to:
FrontPage 2003