Use the Table of Contents Web Part to display navigation on a Web page

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.

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. 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 Page

When 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 Page

How do I use a Table of Contents Web Part?

There are two main steps to using a Table of Contents Web Part:

  1. Adding the Web Part to a page

  2. 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:

  1. Browse to the page to which you want to add a Table of Contents Web Part.

  2. On the Site Actions menu Button image , click Edit Page.

  3. 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.

  4. 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:

  1. 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.

  2. 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.

  3. In the Presentation section, set the following options:

    • Header Text      You can add text to the Web Part header by typing it in this box. The header text appears directly below the Web Part title.

    • Header Style      If you add header text, you can also specify the style of that text by using this option. Select a style from the drop-down list.

    • Display Columns      Use this option to set the number of columns that are displayed by the Web Part. Links are arranged in the number of columns that you specify by using the drop-down list.

      Note: This option has no effect if you select Show content from starting location in the Content section, which causes the Web Part to display only one column.

    • Level 1 Style      You can specify the display style for the links that are at the first level of the Web Part navigation hierarchy by using this option. Level 1 links point to items that are directly under the root level you specify by using the Start from option in the Content section.

    • Level 2 Style      You can specify the display style for the links that are at the second level of the Web Part navigation hierarchy by using this option. Level 2 links point to items that are directly under Level 1 links. This option has no effect if you set the Levels to show option (in the Content section) to 1.

    • Level 3 Style      You can specify the display style for the links that are at the third level of the Web Part navigation hierarchy by using this option. Level 3 links point to items that are directly under Level 2 links. This option has no effect if you set the Levels to show option (in the Content section) to 1 or 2.

  4. In the Organization section, set the following options:

    • Sort contents as they are sorted in navigation      Select this option to cause the Web Part to use the same sort order that is used in the site navigation settings.

    • Sort contents using the following settings      Select this option if you want to specify the sort order that the Web Part uses. If you select this option, the following sort options are available:

      • Sort Sites By      This option allows you to specify which property of the sites is used for sorting the links to those sites. There are three properties that you can use for sorting: Title, Creation Date, and Last Modified Date.

      • Sort Direction      Use this to select a sort direction to apply to the sorted site links. For example, you can sort the sites by Title in alphabetical order by setting Sort Sites By to Title and setting Sort Direction to Ascending.

      • Sort Pages By      This option allows to specify which property of the pages is used for sorting the links to those pages. There are three properties that you can use for sorting: Title, Creation Date, and Last Modified Date.

      • Sort Direction      Use this to select a sort direction to apply to the sorted page links. For example, you can sort the pages by Title in alphabetical order by setting Sort Pages By to Title and setting Sort Direction to Ascending.

        Note: Pages are sorted within the site to which they belong.

Top of Page

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×