In the past (SharePoint 2007) you could open the page in SharePoint Designer for editing, delete the following placeholders and the Quick Launch would magically reappear:
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
In SharePoint 2010 you have to delete another control in addition to those placeholders:<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
<SharePoint:UIVersionedContent ID="WebPartPageHideQLStyles" UIVersion="4" runat="server">
<ContentTemplate>
<style type="text/css">
body #s4-leftpanel {
display:none;
}
.s4-ca {
margin-left:0px;
}
</style>
</ContentTemplate>
</SharePoint:UIVersionedContent>
The only side effect I can think of is that the page becomes unghosted (no longer based on the site definition.) Which is all right.
<ContentTemplate>
<style type="text/css">
body #s4-leftpanel {
display:none;
}
.s4-ca {
margin-left:0px;
}
</style>
</ContentTemplate>
</SharePoint:UIVersionedContent>
4 comments:
Good tip. I'll keep that in mind.
This doesn't seem to work. Designer will not let me remove these areas.
you need to edit in advanced mode.
Many of many of Many Thanks a lot, it works, you saved my day
Post a Comment