Sean Wallbridge, SharePoint MVP


RSS Feed Feed your read!

The Lowdown

Sean's Resume
itgroove (Victoria, BC)
Major Change
Beer Me! (Donate)
Sean's SharePoint Ditty
About Sean
SharePoint Best Practices
Recommended Reading
Follow me on Twitter
Aggregated MVP Blogs

Search

Archives

August 2010 (4)
July 2010 (6)
June 2010 (4)
May 2010 (16)
April 2010 (20)
March 2010 (11)
February 2010 (3)
January 2010 (4)
December 2009 (6)
November 2009 (5)
October 2009 (14)
September 2009 (15)
August 2009 (11)
July 2009 (14)
June 2009 (20)
May 2009 (19)
April 2009 (22)
March 2009 (20)
February 2009 (19)
January 2009 (13)
December 2008 (8)
November 2008 (16)
October 2008 (16)
September 2008 (16)
August 2008 (11)
July 2008 (5)
June 2008 (8)
May 2008 (14)
April 2008 (18)
March 2008 (31)
February 2008 (13)
January 2008 (10)
December 2007 (4)
November 2007 (2)
October 2007 (9)
September 2007 (10)
August 2007 (4)
July 2007 (10)
June 2007 (7)
May 2007 (13)
April 2007 (8)
March 2007 (1)
February 2007 (2)
January 2007 (11)
December 2006 (2)
November 2006 (10)
October 2006 (7)
September 2006 (5)
August 2006 (6)
July 2006 (5)
June 2006 (5)
May 2006 (5)
April 2006 (7)
March 2006 (2)
February 2006 (3)
January 2006 (9)
December 2005 (4)
November 2005 (19)
October 2005 (6)
September 2005 (15)
July 2005 (5)
June 2005 (3)
May 2005 (4)

Links

itgroove Website
BrainLitter Archive
SharePoint Team Blog
Sean's SharePoint Ditty
WSS 3.0 Builds
MOSS 2007 Builds
MVP Profile
MCP Virtual Transcript
2010 Product Comparison

Tag Cloud

Active Directory, ASP.NET, Best Practices, CKS Enhanced Blog Edition, Exchange, From the Brain, IIS, ISA, itgroove, MOSS 2007, Outlook, Rants, Response Point, SBS, Security, SharePoint, SharePoint 2010, SharePoint Designer, SQL Server, Terminal Services, Toronto Maple Leafs, VMware, Web Litter, Windows, Windows 7, Windows Server 2008, Windows Vista, WSS 3.0,

How to hide the Quick Launch Bar and recycle bin using a Content Editor Web Part 

Tags: MOSS 2007, SharePoint, WSS 3.0

Found this tip in an obscure place but felt it was worthy to show and explain in more detail. If you want to hide the Quick Launch Bar on a SharePoint page/site and would prefer not to customize pages in SharePoint Designer (i.e. this is quick and easy and tool free), this tip is for you.

In addition, if you were to export the Content Editor Web Part (CEWP) that was created and then add it to your web part gallery, you could then simply 'plug in, the Quick Launch Bar off switch' by adding the web part to dashboards, as needed.

 

*** SharePoint 2010 Update: ***

In SharePoint 2010, this is done a little differently. These posts walk you through it (I prefer adding a Web Part to my Gallery so I can reuse it easily but when not available due to rights, adding in a CEWP works great too - see the 2nd post as it is very nicely laid out).

Reference Links:

 

The Code:

<style>
#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}
</style>

 

***************************

 

At its simplest, you'll do this

  1. Create a Content Editor Web Part
  2. Hide the web part from view by setting its Chrome to none
  3. Plunk the basic code below, to give the page the syntax to hide quick launch

 

The Code to Plug Into the Content Editor Web Part (CEWP)

<style type="text/css">
.ms-navframe{
display:none;
}
</style>

 

Why it is Ideal

  1. No need to edit pages with SharePoint Designer, etc.
  2. It works better than the 'Tree View' option in WSS where you can turn off Quick Launch, as this method will still show the Recycle Bin and View All Site Content as shown below

Figure 1 : Normal Quick Launch

Figure 2 : You could turn it off in WSS by choosing Look and Feel and Tree View

Figure 3 : And then Disable Quick Launch

Figure 4 : But then you still see this

 

What We are After

Figure 5 : I want this gone and without firing up SPD or modifying page definitions

 

Here's how it is Done

How to hide the Quick Launch Bar using a Content Editor Web Part - Video Link:
http://www.screencast.com/users/itgroove/folders/Jing/media/c09bb64f-b117-4bd0-8ffd-99e4dc5434ae

 

And here's the Result

 

 
Posted by Sean Wallbridge on 18-Oct-09
Bookmark this post with:        
 

Comments

blog comments powered by Disqus