Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sharepoint 2010 - Quick Launch on new Web Part Pages

Posted on 2010-08-17
2
Medium Priority
?
2,170 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

598 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