- Connect to your Sharepoint 2010 server.
- Navigate to: Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\STS\DOCTEMP\SMARTPGS
- Open your site in Microsoft Sharepoint Designer.
- Open each of the eight spstd?.aspx files in Microsoft Sharepoint Designer.
- Comment out the following lines using "<%--" at the beginning and "--%>" at the end:
(at approximately line 32)
<style type="text/css"> body #s4-leftpanel { display:none; } .s4-ca { margin-left:0px; } </style>
and (at approximately line 56)
<asp:content contentplaceholderid="PlaceHolderNavSpacer" runat="server"></asp:content> <asp:content contentplaceholderid="PlaceHolderLeftNavBar" runat="server"></asp:content>
- Save each spstd?.aspx file.
Now the left navigation will be visible by default on all new web parts pages, but still give you the ability to manually hide it by removing the comment from specific files.
This site helped a lot in setting this up: http://patrickboom.wordpress.com/2010/04/16/how-to-add-the-quick-launch-to-the-default-web-part-page-templates/.
No comments:
Post a Comment