Customize the People tab in a Search Center with Tabs (Office SharePoint Server 2007)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2016-11-14

When you create a site collection by using certain templates, such as the Search Center with Tabs template, the result is a Search Center that has two default tabs and can support additional tabs. One of the default tabs in the Search Center with Tabs is the People tab. By default, the People tab uses a unique search page and a unique results page and is configured to use a specific scope.

You use the search scope to define a subset of information in the content index. The scope is used when users perform searches to restrict the search results to that subset of the index. You can create multiple search scopes for people search, with each search scope searching through different subsets of information in the content index.

Use the following procedures to change the People tab to enable users to perform a customized people search.

Before you perform these procedures, confirm that:

Important

You must be a site collection administrator on the site collection that contains the Search Center site to complete this task.

Before you begin

Before you perform these procedures, you must know the following:

  • The name of the display group that contains the search scope

  • The name of the search scope that you want to use

  • The file name of the People Search Results Page. This must be the same as the file name that was used for the target results page when the search scope was created. If the file names are not exactly the same, no results are returned when a people search is performed.

This article assumes that you have already created the search scope and display group that you want to use. For more information, see Create a search scope for people search (Office SharePoint Server 2007).

To view the display groups and search scope:

  1. Open the top-level site of the site collection where you want to create the Search Center.

  2. Click Site Actions, click Site Settings, and then click Modify All Site Settings.

  3. On the Site Settings page, under the Site Collection Administration section, click Search scopes.

  4. On the View Scopes page, the names of all the display groups are listed in the Title column. Locate the display group to which the people search scope is assigned.

  5. The names of the search scopes are listed in the Title column, under the Display Group headings. Locate the search scope that was created for the people search.

  6. To view the file name of the people search results page:

    1. Point to the search scope for the people search, click the arrow that appears, and then click Edit Properties and Rules.

    2. On the Scope Properties and Rules page, in the Scope Settings section, in the Target results page section, locate the file name.

Customize the People tab in Search Center with Tabs to use a specific search scope

To perform a search from the People tab in Search Center with Tabs, you use two Web pages, the first to perform the search and the second to display the results. The Search page that opens when users click the People tab contains by default the People Search Box Web Part, where users type the name of the person they want to search for.

The results page displays the search results in the People Search Core Results Web Part. The results page contains an additional People Search Box Web Part so that users can search again from the results page without having to click the browser’s Back button to return to the search page.

You modify the People Search Box Web Part on the search page and on the results page to ensure that a search performed from the People tab in Search Center with Tabs uses the same search scope on both pages. Before you perform the following procedures, ensure that the scope that you want to use is assigned to a display group. In the following procedures, you enter in the UI the name of this display group and the scope within it that you want to use as the default scope. You also modify the People Search Core Results Web Part on the results page to display the correct results based on the search scope that you select.

When the search scope was created and configured for people search, the search scope was directed to display the results in a specific results page. In order for the search page associated with the People tab to display the correct results for the search scope, the results page must have the same file name as the file name configured in the search scope. The following procedures guide you through creation of the search results page, using the file name that was configured for the target results page when the search scope was created.

Perform the following procedures in the order shown to customize the search page, and then create and customize a search results page for the People tab in Search Center with Tabs so that a specific search scope is used for people search. You perform these procedures in the following order:

Important

You must be a site owner on the Search Center with Tabs to complete these procedures.

  1. Customize the search page for the People tab

  2. Create a people search results page

  3. Configure the people search results page

Customize the search page for the People tab

  1. Open the top-level Search Center with Tabs in the site collection where you want to customize the People tab.

  2. Click the People tab.

  3. Click Site Actions, and then click Edit Page. The Search page opens.

  4. In the People Search Box Web Part, click edit, and then click Modify Shared Web Part. The People Search Box list appears.

  5. Expand the Miscellaneous option.

  6. Click in the Target search results page URL text box. An ellipsis button (…) appears.

  7. Click the ellipsis button. The Text Entry — Webpage Dialog box opens.

  8. Replace the file name in the list with the file name that was given to the target results page when the search scope was created — for example, PeopleSearchResultsPage.aspx — and then click OK.

  9. In the People Search Box list, scroll to the Scope display group text box and then click in it. An ellipsis button (…) appears.

  10. Click the ellipsis button. The Text Entry — Webpage Dialog box opens.

  11. Replace the default name in the list with the name that was given to the display group for the custom people search scope — for example, Contoso Display Group — when the search scope was created, and then click OK.

  12. Make any other changes as needed, and then click OK in the People Search Box list.

  13. Click either Publish or Check In to Share Draft, depending on the site permissions and workflow. The Search Center with Tabs opens with the People tab selected and the browser URL includes “people”.

Create a people search results page

  1. Open the top-level Search Center with Tabs in the site collection where you want to create the people search results page, click Site Actions, and then click Create Page.

  2. On the Create Page page, in the Page Title and Description section, type a name in the Title text box for the people search results page; for example, Contoso People Search Results Page.

  3. Optionally, type information about the page in the Description box.

  4. In the URL Name text box, replace the file name with the exact file name that was given to the target results page when the search scope was created; for example, PeopleSearchResultsPage.aspx.

    Important

    If the file names are not exactly the same, no results are returned when a people search is performed.

  5. In the Page Layout section, select (Welcome Page) People Search Results Page, and then click Create. The people search results page opens in edit mode.

Configure the people search results page

  1. Create the People Search Box Web Part:

    1. On the results page, Click Add a Web Part in the zone that you want; for example, in Middle Upper Left Zone or Middle Lower Right Zone. An Add Web Parts dialog box opens.

    2. In the Suggested Web Parts section, select People Search Box, and then click Add. On the results page, the People Search Box Web Part now appears in the zone that you chose.

  2. Configure the People Search Box Web Part:

    1. In the People Search Box Web Part, click edit, and then click Modify Shared Web Part. The People Search Box list appears.

    2. Expand the Scopes Dropdown option, click the Dropdown Mode drop-down list, and then select the appropriate option. To enable users to select from all the search scopes in the site collection when they do a people search, in the Dropdown Mode list click Show scopes dropdown.

    3. Expand the Miscellaneous option.

    4. Scroll to the Target Search Results Page URL text box and then click in it. An ellipsis button (…) appears.

    5. Click the ellipsis button. The Text Entry — Webpage Dialog box opens.

    6. Replace the file name in the list with the exact file name that was given to the target results page when the search scope was created — for example, PeopleSearchResultsPage.aspx — and then click OK.

      Important

      If the file names are not exactly the same, no results are returned when a people search is performed.

    7. In the People Search Box list, click in the Scope display group box. An ellipsis button (…) appears.

    8. Click the ellipsis button. The Text Entry — Webpage Dialog box opens.

    9. Replace the file name in the list with the name that was given to the display group — for example, Contoso Display Group — and then click OK.

    10. Make any other changes as needed in the People Search Box list, and then click OK. The people search results page opens in edit mode.

  3. Create the People Search Core Results Web Part:

    1. On the results page, click Add a Web Part in the zone you want; for example, in Middle Upper Left Zone or Middle Lower Right Zone. An Add Web Parts dialog box opens.

    2. In the Suggested Web Parts section, select People Search Core Results, and then click Add. On the results page, the People Search Core Results Web Part now appears in the zone that you chose.

  4. Configure the People Search Core Results Web Part:

    1. In the People Search Core Results Web Part, click edit, and then click Modify Shared Web Part. The People Search Core Results list appears.

    2. Expand the Miscellaneous node.

    3. Click the ellipsis button. The Text Entry — Webpage Dialog box opens.

    4. Type the name of the scope used when the search scope was created — for example, Contoso Search Scope — and then click OK.

    5. Make any other changes as needed in the People Search Core Results list and then click OK. The people search results page opens in edit mode.

  5. Click either Publish or Check In to Share Draft, depending on the site permissions and workflow.