views:

28

answers:

1

Hi,

I'm creating a web part page in SP 2010 with one column only , but it's covering my left navigation. How to make it appear only in body area of the page ?

alt text

Also, Is it possible to create "web part" library where by clicking of "new document" button it allows to create web part page.

Updates: Second part is done if we create document library with "Web part" content type.

Rishi

A: 

It sounds like your problem might be that the page layout for the web part page is not overriding the display of the left navigation. This was the case in 2007 and seems like it might be the case in 2010 page layouts as well.

If this is the problem, what you need to do is to edit the page layout (or just the one web part page) to remove the following lines:

<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>

and

<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content> 

These are set by the master page to contain the left navigation, but if your page layout overrides them then they will not display.

Here is a blog post on this from 2007.

Peter Jacoby

related questions