Quick Launch missing on WebPart Pages in SharePoint 2010

When you create a WebPart page in SharePoint 2010 the Quick Launch will not appear by default. To enable quick launch we have to do following changes in the page using SharePoint designer.

1. Remove the following Content Place holders.
    <asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server">   </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>

2. Remove the following styles.
    body #s4-leftpanel {
       display:none;
    }

<SharePoint:UIVersionedContent ID="WebPartPageHideQLStyles" UIVersion="4" runat="server">
   <ContentTemplate>
      <style type="text/css">
         .s4-ca {
             margin-left:0px;
         }
      </style>
   </ContentTemplate>
</SharePoint:UIVersionedContent>

Comments

Popular posts from this blog

Switch from Classic to Claims Authentication in SharePoint 2010

How to query list data using web service