Good navigation functionality is one of the keys to a successful Web page. Using Microsoft Office SharePoint Server 2007, you can enhance the navigation functionality of a Web page by using a Table of Contents Web Part (Web Part: A modular unit of information that consists of a title bar, a frame, and content. Web Parts are the basic building blocks of a Web Part Page.).
In this article
What is a Table of Contents Web Part?
When can I use a Table of Contents Web Part?
How do I use a Table of Contents Web Part?
What is a Table of Contents Web Part?
A Table of Contents Web Part is a configurable component that you can add to a Web Part Page (Web Part Page: A special type of Web page that contains one or more Web Parts. A Web Part Page consolidates data, such as lists and charts, and Web content, such as text and images, into a dynamic information portal built around a common task.). You use the Table of Contents Web Part to automatically generate a site map that point to various parts of your Office SharePoint Server 2007 site collection.
When you add a Table of Contents Web Part to a page, you specify which part of your site collection the Web Part should generate links to, how the links are presented, and how the links are organized.
Top of PageWhen can I use a Table of Contents Web Part?
When you create a new page, you can create the page by using the Welcome page with table of contents page layout. This creates a page that already contains a Table of Contents Web Part.
You can use a Table of Contents Web Part to provide navigation links on any Web Part Page by adding a Table of Contents Web Part to a Web Part Zone on the page. The following page layouts that are included with Office SharePoint Server 2007 allow you to add a Table of Contents Web Part:
- Advanced Search
- Intranet Home
- News Home
- People Search Results Page
- Search Page
- Search Results
- Site Directory Home
- Welcome page with summary links
- Welcome splash page
Top of PageHow do I use a Table of Contents Web Part?
There are two main steps to using a Table of Contents Web Part:
- Adding the Web Part to a page
- Configuring the Web Part
Adding the Web Part to a page
As noted above, pages created by using the Welcome page with table of contents page layout already have a Table of Contents Web Part. If the page that you are working with supports Web Parts, but does not already have a Table of Contents Web Part, you can add one by using the following procedure:
- Browse to the page to which you want to add a Table of Contents Web Part.
- On the Site Actions menu
, click Edit Page. - Choose a zone for the Web Part, and then click Add a Web Part in that zone. The Add Web Parts Web Page dialog box opens.
- In the Add Web Parts dialog box, under All Web Parts, in the Default section, select the Table of Contents Web Part check box, and then click Add.
Configuring the Web Part
Use the following procedure to configure a Table of Contents Web Part:
- Click the arrow at the top-right corner of the Web Part, and then click Modify Shared Web Part. The Table of Contents Web Part tool part opens.
Note
If you are already editing the page, the arrow at the top-right corner of the Web Part is labeled edit.
- In the Content section, set the following options:
- Start from This option determines the root level from which content is included. All of the content that is exposed by the Table of Contents Web Part must be either a page that is in this root site, a site that is in this root site, or a page that is in a site that is in this root site. Click the Browse button, and then choose the site that you want to use as the root of the Web Part.
- Levels to show Use this option to specify how many levels of navigation the Web Part displays. The root site is at the first level of navigation, each site that is directly below the root site is at the second level of navigation, and so on. Pages are at the same navigation level as the site to which they belong.
For example, suppose you have chosen a root site called Home that contains two sites, called News and Announcements, and that each of those sites contains four sites, called Quarter 1, Quarter 2, Quarter 3, and Quarter 4. If you specify that the Table of Contents Web Part displays two levels, it does not display the Quarter sites, because they are at the third level of navigation. However, in this example, pages that belong to the News site and the Announcements site are displayed, because they belong to sites that are at the second level of navigation.
- Show content from starting location Select this check box if you want the Web Part to show links to pages that are directly under the root that you specify by using the Start from option. If you do not select this check box, the Web Part displays sites that are directly under the root, and pages and sites that are under those sites, but does not display pages that are directly under the root.
Note
If you select Show content from starting location, the Table of Contents displays in one column.
- Show pages If you want the Web Part to display links to pages as well as links to sites, you must select this option. If this option is clear, only links to sites display in the Web Part.
- Include hidden pages Select this option if you want the Web Part to display links to pages that are hidden from navigation.
- Include hidden sites Select this option if you want the Web Part to display links to sites that are hidden from navigation.
- In the Presentation section, set the following options:
- In the Organization section, set the following options:
Top of Page