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:
You have read the topic Administer Search Center for people search (Office SharePoint Server 2007).
The system is running either the Standard or Enterprise version of Microsoft Office SharePoint Server 2007.
- You have applied the Infrastructure Update for Microsoft Office Servers (or subsequent service pack). For more information, see Description of the Microsoft Office Servers Infrastructure Update: July 15, 2008 (https://go.microsoft.com/fwlink/?LinkID=121886).
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:
Open the top-level site of the site collection where you want to create the Search Center.
Click Site Actions, click Site Settings, and then click Modify All Site Settings.
On the Site Settings page, under the Site Collection Administration section, click Search scopes.
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.
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.
To view the file name of the people search results page:
Point to the search scope for the people search, click the arrow that appears, and then click Edit Properties and Rules.
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.
Customize the search page for the People tab
Create a people search results page
Configure the people search results page
Customize the search page for the People tab
Open the top-level Search Center with Tabs in the site collection where you want to customize the People tab.
Click the People tab.
Click Site Actions, and then click Edit Page. The Search page opens.
In the People Search Box Web Part, click edit, and then click Modify Shared Web Part. The People Search Box list appears.
Expand the Miscellaneous option.
Click in the Target search results page URL text box. An ellipsis button (…) appears.
Click the ellipsis button. The Text Entry — Webpage Dialog box opens.
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.
In the People Search Box list, scroll to the Scope display group text box and then click in it. An ellipsis button (…) appears.
Click the ellipsis button. The Text Entry — Webpage Dialog box opens.
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.
Make any other changes as needed, and then click OK in the People Search Box list.
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
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.
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.
Optionally, type information about the page in the Description box.
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.
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
Create the People Search Box Web Part:
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.
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.
Configure the People Search Box Web Part:
In the People Search Box Web Part, click edit, and then click Modify Shared Web Part. The People Search Box list appears.
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.
Expand the Miscellaneous option.
Scroll to the Target Search Results Page URL text box and then click in it. An ellipsis button (…) appears.
Click the ellipsis button. The Text Entry — Webpage Dialog box opens.
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.
In the People Search Box list, click in the Scope display group box. An ellipsis button (…) appears.
Click the ellipsis button. The Text Entry — Webpage Dialog box opens.
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.
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.
Create the People Search Core Results Web Part:
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.
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.
Configure the People Search Core Results Web Part:
In the People Search Core Results Web Part, click edit, and then click Modify Shared Web Part. The People Search Core Results list appears.
Expand the Miscellaneous node.
Click the ellipsis button. The Text Entry — Webpage Dialog box opens.
Type the name of the scope used when the search scope was created — for example, Contoso Search Scope — and then click OK.
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.
Click either Publish or Check In to Share Draft, depending on the site permissions and workflow.