Solved

Sharepoint 2010 - Quick Launch on new Web Part Pages

Posted on 2010-08-17
2
2,152 Views
Last Modified: 2012-05-10
I want the Quick Launch (left navigation) to always appear on all new Web Part pages that are created  I have tried changing the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\STS\DOCTEMP\SMARTPGS\SPSTD1 thru SPSTD8 to remove the run at server commands.   This is not working.  
0
Comment
Question by:DragonflySusan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
DragonflySusan earned 0 total points
ID: 33455033
Here is how you change the entire farm to default the Quick Launch Navigation on Web Part Pages.
1.      On your SharePoint server, go to the 14 hive (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\).  
2.      Navigate to the document templates of the site definition for the sites currently deployed in your SharePoint environment.  In this article, we are referencing the English Team Site definition (C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\1033\STS\DOCTEMP\).
3.      Open the folder SMARTPGS.  Here there are 8 aspx pages and one htm page.  Notice that the order of the aspx pages, matches the order found in New Web Part Page form in SharePoint.  For example spstd1.aspx maps to the page layout Full Page, Vertical and spstd2.aspx maps to the page layout Header, Left Column, Body and so on.
4.      Open the aspx page you want to always display the Quick Lauch Bar on, in Notepad.exe or VisualStudio 2008.
Search for, and delete the following lines of code -

<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>Save the file.  Repeat step 4 for each Web Part Page layout you want to display the Quick Launch Bar on.
5.      All future created Web Part Pages will now show the Quick Launch Bar.
0
 

Author Comment

by:DragonflySusan
ID: 33456347
Here is how you change the entire farm to default the Quick Launch Navigation on.
1.      On your SharePoint server, go to the 14 hive (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\).  
2.      Navigate to the document templates of the site definition for the sites currently deployed in your SharePoint environment.  In this article, we are referencing the English Team Site definition (C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\1033\STS\DOCTEMP\).
3.      Open the folder SMARTPGS.  Here there are 8 aspx pages and one htm page.  Notice that the order of the aspx pages, matches the order found in New Web Part Page form in SharePoint.  For example spstd1.aspx maps to the page layout Full Page, Vertical and spstd2.aspx maps to the page layout Header, Left Column, Body and so on.
4.      Open the aspx page you want to always display the Quick Lauch Bar on, in Notepad.exe or VisualStudio 2008.
Search for, and delete the following lines of code -

<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>

Search for, and delete the following lines of code -
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"></asp:Content>
  <asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>
 <asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
Save the file.  Repeat step 4 for each Web Part Page layout you want to display the Quick Launch Bar on.

5.      All future created Web Part Pages will now show the Quick Launch Bar.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question