Add a new tab for people search to 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

Creating a site collection by using certain templates, such as the Collaboration Portal template or Search Center with Tabs templates, results in a Search Center site that has two tabs and can support additional tabs. A tab in a Search Center with Tabs enables end users to quickly select a different scope for their queries. By default, each tab contains a unique search page and a unique results page and is configured to use a specific scope. When a Search Center with Tabs site is created by using the default settings, a People tab is created to enable users to do a people search. However, you can create new tabs for people search by using specific user profile properties that you select when you create a search scope.

Use the following procedures to create a new tab on Search Center with Tabs to add people search to a site. If a People tab already exists for people search, use these procedures to create a new tab for a custom people search.

Before you perform this procedure, confirm that:

Important

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

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 as the default scope.

  • The document library name and the file name of the people search results page. These must be the same as the document library name and the file name that was used for the target results page when the search scope was created. If the names are not the same, no results will be 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, and then click Site Settings. If an option is displayed to Modify All Site Settings, click it.

  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 document library name and 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, click Change scope settings.

    3. On the Edit Scope page, in the Target Results Page section, in the Target results page text box, view the document library name and the file name.

Add a new tab to an existing Search Center with Tabs

Use the following procedures in the order shown to add a new tab for people search to a Search Center with Tabs and to configure it to work with a search scope.

  1. Create a people search page

  2. Configure the people search page

  3. Create a people search results page

  4. Configure the people search results page

  5. Add a new tab to the Search Center

  6. Add the new tab to the people search results page

Create a people search page

  1. Open the Search Center with Tabs in the site collection where you want to create the people search 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 page; for example, Contoso People Search.

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

  4. The URL in the URL Name box is automatically populated based on the page name you typed in the Title box; for example, ContosoPeopleSearch. The .aspx file name extension is added automatically. Therefore, do not type it into the URL Name text box.

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

Configure the people search page

  1. In the Search Box, click edit, click Delete, and then click OK.

  2. Create the People Search Box Web Part:

    1. Click Add a Web Part in the zone that you want; for example, in Top Zone or Bottom Zone. The Add Web Parts dialog box opens.

    2. In the Suggested Web Parts section, select People Search Box, and then click Add. A People Search Box Web Part appears on the people search page.

  3. Configure the People Search Box Web Part:

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

    2. If you want to change the settings for the Scopes Dropdown option, expand the Scopes Dropdown option in the tool pane, click the Dropdown Mode drop-down list, and then select the appropriate option. If you want users to select from all the search scopes in the display group that is assigned to this page when users do a people search, point to the Dropdown Mode list, and then click Show scopes dropdown. If the display group assigned to this page contains only one scope or if it is not intended that users select different scopes, we recommend that you use the default setting Do not show scopes dropdown.

    3. Expand the Miscellaneous node in the People Search Box list.

    4. Click in the Target search results page URL text box. 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 document library and file name that was given to the target results page when the search scope was created — for example, PeopleSearchDocumentLibrary/PeopleSearchResultsPage.aspx — and then click OK.

    7. Click in the Scope display group text 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 exact name that you gave to the display group — for example, Contoso Display Group — when the search scope was created, and then click OK.

      Important

      If the document library name and search results page file name are not exactly the same, no results are returned when a people search is performed.

    10. Make any other changes as needed, and then click OK.

  4. Click either Publish or Check In to Share Draft, depending on the site permissions and workflow. The people search page opens.

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. The Create Page page opens.

  2. In the Page Title and Description section, in the Title text box type a name 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 you gave to the target results page when the search scope was created — for example, PeopleSearchResultsPage — and then click OK. The .aspx file name extension is added automatically. Therefore, do not type it in the URL Name text box.

    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 doing a people search, in the Dropdown Mode drop-down list, click Show scopes dropdown.

    3. Expand the Miscellaneous option.

    4. Click in the Target Search Results Page URL box. 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. 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 exact name that you gave to the display group — for example, Contoso Display Group — and then click OK.

    10. Make any other changes as needed, and then click OK.

  3. Create the People Search Core Results 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.

    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 section 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 option.

    3. Click in the Scope box. An ellipsis button (…) appears.

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

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

    6. 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. The people search results page opens.

Add a new tab to the Search Center

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

  2. Click Site Actions, and then click Edit Page. The Search Center with Tabs opens.

  3. Click Add New Tab. The Tabs in Search Pages: New Item page opens.

  4. In the Tab Name section, in the text box type the name for the tab; for example, Contoso People Search.

  5. In the Page section, in the text box type the file name of the search page, including the .aspx file name extension, that you assigned to the search page for people search in the procedure Create a People Search Page; for example, ContosoPeopleSearch.aspx.

  6. Optionally, in the Tooltip box, type text the user will see when the pointer rests over the tab.

  7. Click OK.

  8. Click either Publish or Check In to Share Draft, depending on the site permissions and workflow. The Search Center with Tabs opens.

Add the new tab to the people search results page

  1. Open the top-level Search Center with Tabs in the site collection where you created the new tab.

  2. Click the new tab. The people search page associated with that tab opens, with the new tab selected.

  3. Click Site Actions, and then click Manage Content and Structure.

  4. On the Site Content and Structure page, in the navigation pane, look in the tree view and under Search, click Pages.

  5. In the Name column of the list pane, point to the people search results page — for example, PeopleSearchResultsPage — that you created in the procedure Create a People Search Results Page, click the arrow, and then click Open Link in New Window. The people search results page opens.

  6. On the people search results page, click Site Actions, and then click Edit Page.

  7. Click Add New Tab. The Tabs in Search Pages: New Item page opens.

  8. In the Tab Name section, in the text box type the name for the tab; for example, Contoso People Search.

  9. In the Page section, in the text box type the file name, including the .aspx file name extension, that you assigned to the search page for people search in the procedure Create a People Search Page; for example, ContosoPeopleSearch.aspx.

  10. Optionally, in the Tooltip box, type text the user will see when the pointer rests over the tab.

  11. Click OK.

  12. Click either Publish or Check In to Share Draft, depending on the site permissions and workflow. The people search results page opens.

See Also

Other Resources

Creating a Custom Search Page and Tabs in the Search Center of SharePoint Server