Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

STS: Error Trying to Customize Home Page Layout


View products that this article applies to.

This article was previously published under Q294948

↑ Back to the top


Symptoms

When you browse to the home page of a web site based on SharePoint Team Services from Microsoft, click Web Settings on the navigation bar, and then click Customize Home Page Layout, the following error message appears:
Unable to edit the homepage layout.

The current homepage is not correctly structured to use this feature.

If this problem persists, please contact your administrator.

↑ Back to the top


Cause

The code that SharePoint Team Services uses to modify the lists was deleted from the page.

↑ Back to the top


Resolution

Add the code that SharePoint Team Services uses to the page. To do this, follow these steps:
  1. Create a new SharePoint Web:
    1. Open the home page of your web based on SharePoint Team Services, and then click Site Settings.
    2. Under Web Administration, click Create a subweb.
    3. Give the new subweb a temporary name (for example, call it TempWeb).
    4. For Site Type, select SharePoint-based Web site, and then click Submit.
  2. Open the new subweb in FrontPage.
  3. Open the home page for the new subweb. In normal view, select the following text:
    [People browsing the "Home Page Layout" page can insert additional list views here.]
    					
  4. On the Edit menu, click Copy.
  5. Open the home page that does not correctly display the home page layout. Click at the bottom of the center column, and then click Paste on the Edit menu. Click at the bottom of the right column, and then click Paste on the Edit menu.

    NOTE: By default, the center column contains the Announcements and Events lists, and the right column contains the Links list.
  6. Delete the temporary subweb that you created in step 1:
    1. Open the temporary subweb in FrontPage (for example, open http://localhost/TempWeb).
    2. In the Folder list pane, right-click the parent folder of the subweb and then click Delete on the menu that appears.
    3. If you receive a prompt about confirming deletion of the Web, click Delete this Web entirely.

↑ Back to the top


More information

SharePoint determines the number of columns available on a home page by parsing through the page and picking up the columns that contain specific code. In HTML view in FrontPage, the code for a Web component looks similar to this:
<!--webbot bot="FormInsertHere" S-Purpose="homepageviews"-->
				
In normal view, the Web Component looks similar to this:
[People browsing the "Home Page Layout" page can insert additional list views here.]
				
SharePoint Team Services cannot determine the layout of the page if this line is removed from both columns of the home page. Therefore, it cannot display the Home Page Layout page.

↑ Back to the top


Keywords: KB294948, kbprb

↑ Back to the top

Article Info
Article ID : 294948
Revision : 3
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 413