Introduction
When creating a new Web Part page in SharePoint 2007 or 2010, the Quick launch will not appear. It's actually still there, but hidden in different ways, depending on the SharePoint version you are using. To get it back, just follow the procedure below, as appropriate to your SharePoint version.
Procedure
When creating a new Web Part page in SharePoint 2007 or 2010, the Quick launch will not appear. It's actually still there, but hidden in different ways, depending on the SharePoint version you are using. To get it back, just follow the procedure below, as appropriate to your SharePoint version.
Procedure
- SharePoint 2007
- Open the page in any text editor or Designer 2007.
- Search for these two lines:
- Delete them both.
- Save the page.
- SharePoint 2010
- Open the page in any text editor or Designer 2010.
- If using Designer, use Advanced Mode.
- Remove the following code/css:
- Remove the following ASP.NET placeholder:
- Save the page.
<asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content> <asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
<sharepoint:uiversionedcontent id="WebPartPageHideQLStyles" runat="server" uiversion="4"> <contenttemplate> <style type="text/css"> body #s4-leftpanel { display:none; } .s4-ca { margin-left:0px; } </style> </contenttemplate> </sharepoint:uiversionedcontent>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
No comments:
Post a Comment