Solved

Sharepoint 2010 - Quick Launch on new Web Part Pages

Posted on 2010-08-17
2
2,143 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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