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
- On the File menu, click New.
- In the New task pane, under New page, click More page templates.
- In the Page Templates dialog box, on the General tab, click Search Page, and then click OK.
If 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.
- 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.
- In Design view, double-click the Search for text box.
- 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.