By default, SharePoint 2010 Web part pages don't have quick launch navigation! Web part page missing quick launch in SharePoint 2010.
show quick launch in SharePoint web part page |
We can bring it by editing web part page. Just Edit the webpart page in the SharePoint Designer 2010 Advanced mode and remove the following code (As same in SharePoint 2007):
1
2
| < asp:Content ContentPlaceHolderId = "PlaceHolderNavSpacer" runat = "server" ></ asp:Content > < asp:Content ContentPlaceHolderId = "PlaceHolderLeftNavBar" runat = "server" ></ asp:Content > |
In SharePoint 2010 you have to also remove the following CSS code:
1
2
3
4
5
6
7
8
9
10
11
12
| <style type= "text/css" > body #s 4 -leftpanel { display : none ; } .s 4 -ca { margin-left : 0px ; } </style> |
Save the page! This will bring Quick launch bar again!! Here is the result: quick launch on SharePoint 2010 web part page.
This solves the issue of SharePoint 2010 quick launch missing from web part page. Here is my SharePoint 2007 version of this post: SharePoint 2007 Quick Launch (left navigation) Missing in Web part pages - Solutions
Reference:
http://www.sharepointdiary.com/2013/03/show-quick-launch-in-sharepoint-2010-web-part-pages.html
No comments:
Post a Comment