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.
Note If you are not sure that your server is running FrontPage Server Extensions, contact your hosting provider or server administrator.
To create a separate search page, see Add a search page to your FrontPage 2003 Web site.
To add a Web search text box to an existing page
- In Page view, at the bottom of the document window, click Design.
- Put the insertion point where you want the search text box to appear.
- On the Insert menu, click Web Component.
- In the Insert Web Component dialog box, under Component type, click Web Search.
If the Web Search component is unavailable (grayed out)
Because Web Search is a Browse-Time Web Component, you need to make sure that Browse-Time Web Components are activated.- On the Tools menu, click Page Options.
- In the Page Options dialog box, click the Authoring tab.
- Under FrontPage and SharePoint technologies, select the Browse-Time Web Components check box, and then click OK.
- Under Choose a type of search, click Current Web.
- Click Finish.
- In the Search Form Properties dialog box, indicate what you want on each of the following tabs:
Search 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.
Search 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.
- Click OK.