Search This Blog

Thursday 14 June 2012

Show Quick Launch on SharePoint 2010 Webpart Page


When you create a webpart page on SharePoint 2010, the quick launch will vanish.

To display quick launch we have to Open the Page in SharePoint Designer and do the following changes

Find the below lines
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>
and comment or Remove it

you also need to comment or delete the following style:

< style type="text/css">
body #s4-leftpanel {
display:none;
}
.s4-ca {
margin-left:0px;
}
</style>

Now the quick launch will display on the web part page.

More References


No comments:

Post a Comment