![]() |
8/20/2008 1:38:58 PM
|
Let us assign categories to pages in your Web site, then automatically generate a list of links to all the pages in a particular category, by using the Table of Contents Web Component. This component is particularly useful if you want to create a site map that links to all of the key pages in your site.
Create a new category for pages that will be in the site map. Right-click on pages in the Folder List, then click Properties. Click the Workgroup tab on the Properties dialog box, then click the Categories button. In the New Category box, type the new category name (such as "Site Map"), and then click the Add button and OK, as shown in Figure 1.

Figure 1.
In the Available categories scroll box, click the Site Map check box to assign
this page to the Site Map category. Click OK. This is shown in Figure 2.

Figure 2.
Repeat this step for each page you want to add to the site map.
Open or create the page you want to contain the site map.
Insert the site map using the Table of Contents Web Component. Select Web Component
from the Insert menu. Click Table of Contents in the Component type box, and
Based on Page Category in the Choose a Table of Contents box, then click Finish.
An example of this is shown in Figure 3.

Figure 3.
The site map appears only when the page is viewed in the browser.