Todd Bleeker's 12 Hive

All MindsharpBlogs

Are you pondering what I'm pondering?

My Links

Post Categories

Archives

Blog Stats

Subwebs On The Quick Launch (No Assembly Required)

   Subwebs On The Quick Launch

This Web Part has been burning a hole in my TODO list since I put out the beta bits to several dozen people on December 2, 2005 (in fact, I've was working on this solution since before TechEd 2005 and during PDC last year). I've gotten tons of positive feedback on this and my updated Search Web Part and thus far I have no bug reports. I just haven't had the wherewithal to put the finishing touches that I personally want to add before releasing the Web Part (several desirable, if minor, enhancements are listed below). But, I must face the fact that I will not have time to individually implement all these enhancements myself. So, rather than waiting another few months before releasing this, I thought I would just post what I have and see if the community can help me complete this task. You can download the zipped Subwebs On The Quick Launch DWP from the Mindsharp Premium Content page.

As I'm sure you know, navigation in SharePoint 2003 Team Sites (WSS Webs with a Quick Launch bar) is challenging. The biggest contributor to this challenge is the fact that the subwebs of a given Web are not intuitive to find. There are a half dozen ways to navigate to them but they all require at least two unintuitive clicks from the home page. Novice SharePoint users typically cannot find these subwebs, even moments after they create one. The navigation I like to use (least clicks and scrolling) is Site Settings > Manage sites and workspaces. From this page I can see a categorized list of all the immediate subwebs I have access to (one of the few things in WSS that is security trimmed).

So, I set about finding a way to put this list of subwebs on the home page where they can easily be discovered. I tried all sorts of approaches to this problem including AJAXian calls to SharePoint's own Web Services. But "no joy". Then, about a three quarters of a year ago I had an epiphany; since I always know the address of the page that does show the list I want to display, why not use a hidden iframe and just pull the pieces that I need out? It worked!

I wanted to add the subwebs to the Quick Launch bar in a way that would be intuitive and consistent with the links that are already there. Since everybody loves a choice, I gave the Subwebs On Quick Launch Web Part lots of options too. The default is a very basic, security trimmed, alphabetically sorted listing of the immediate subwebs. But you can choose to add sections, icons, tooltips, change the sort order; you can even add a menu I call "Down To" to the right of the "Up To" link on the top nav. These setting are managed by setting variables near the top of the embedded code. Also, I've tried to keep all the literals in variables so that Internationalization (I18N) and Localization (L10N) to another language should be relatively easy.

Here is the list of additional enhancements that I'd like to see made to this component followed by a few screen shots of the Web Part in action:

  • Since this data doesn't change often, I'd like to implement a JavaScript call to just retrieve the HEAD of the page in the iframe. If the content length (stored in a cookie) is the same as it was before I'd like to just use the HTML previous generated (also stored in a cookie). Estimate: 3-6 hours.
  • Add a SECTIONS_ONLY option: No subwebs would be shown, only section headers with links to the Manage Subwebs page.
  • Add a LIMIT_DISPLAY_NUMBER option: After this many subwebs have been iterated, a More... link to the Manage Subwebs page would show. This would help where there are tons of Subwebs to a given parent Web.
  • Add a SLIDE_QUICK_LAUNCH option: The top nav with the "Down To" menu would still show but the entire Quick Launch would be mostly hidden. It would just have the right edge showing and when the user placed their mouse over the edge, the entire Quick Launch would slide out long enough for the user to make a selection. However, if they moved their mouse off of the Quick Launch without making a selection, it would slide back to the left with just the right edge showing.
  • Add a QUICK_LAUNCH_TOP_NAV option: Using the same technique I've used to place the subwebs into the "Down To" menu in the top nav; this option would take all five sections of the default Quick Launch and move them into the top nav (probably just under the Home link). The entire Quick Launch would then be hidden but all the options would still be available. I started this one so it might look something like this.

Please let me know if you are interested in helping me add any of these enhancements.

Remember, you can get your free copy of this Web Part from the Mindsharp Premium Content page.

What follows are some screenshots of the Web Part in action.

The basic modified Quick Launch:

The modified quick launch with a few options enabled:

The modified top nav Up To link with a "Down To" menu option:

The modified top nav Down To menu with a few options enabled:

What other features would you like to see added to this Web Part?

Get the Subwebs On the Quick Launch DWP and deploy it to one of your Team Sites (or Document Workspaces, it is not intended to work with SPS Areas - they have their own navigational scheme) to see what it is like. If you like what you see but want to use it more widely across your SharePoint farm, be sure to check out my Guidelines to Centralize SharePoint Style/Script Customizations.

Happy St. Patrick's Day! Luck O' The Irish to you.

posted on Friday, March 17, 2006 5:15 PM

Feedback

# re: Subwebs On The Quick Launch (No Assembly Required) 3/18/2006 12:56 AM EROL MVP SPS

Thnks your link on my Blog EROL www.clubsps.org

# Subwebs On The Quick Launch 3/18/2006 3:16 AM Romeo Pruno

VIA TODD

read full post here

# Subwebs On The Quick Launch w/ some extra goodies! 3/20/2006 12:32 PM Jason Medero's SharePointing into Collaboration

# Subwebs On The Quick Launch w/ some extra goodies! 3/20/2006 12:34 PM Jason Medero's SharePointing into Collaboration

# re: Subwebs On The Quick Launch (No Assembly Required) 3/21/2006 3:49 AM MikeWalshHelsinki

Great, Todd. Mine has however required substantial modification ...

Mike

(It now reads "Sub-Sites")

# re: Subwebs On The Quick Launch (No Assembly Required) 3/21/2006 11:54 AM Mark Kruger, SharePoint MVP

Very nice work Todd!! I love the way this was done.... very creative!

# re: Subwebs On The Quick Launch (No Assembly Required) 3/22/2006 2:56 AM MikeWalshHelsinki

I was joking about the "significant modification". (Just in case anyone thought I was being serious)

I changed the contents of a string ...

# re: Subwebs On The Quick Launch (No Assembly Required) 4/5/2006 11:58 AM Shane Perran

Todd,

Great job on this and the search application which I am not sure if you released yet.

Loved both!

Cheers,

Shane

# re: Subwebs On The Quick Launch (No Assembly Required) 4/25/2006 3:43 AM Marc

What's wrong with .GetSubwebsForCurrentUser() ?

# re: Subwebs On The Quick Launch (No Assembly Required) 5/1/2006 7:04 AM Todd Bleeker

I've used GetSubwebsForCurrentUser but:

1. GetSubwebsForCurrentUser requires the deployment of an assembly. This is a "No Assembly Required" solution.
2. GetSubwebsForCurrentUser doesn't get the Subwebs onto the Quick Launch bar or onto the Top Nav.
3. GetSubwebsForCurrentUser doesn't work for all users (impersonation doesn't help).

<Todd />

# re: Subwebs On The Quick Launch (No Assembly Required) 5/18/2006 3:21 AM Dan Iveson

Brilliant work Todd! A little tweaking was required but I got it in the end. Unfortunately the WSS site it's on is behind a corporate firewall so I can't show you the results - or what I'm trying next.

# Subwebs On The Quick Launch for MS Custom Templates 5/31/2006 9:32 AM tchristo

The quicklaunch code works great in sites using regular templates but I've tried it in several of MS's downloadable custom templates and I can't get it to work. It just isn't showing up in the quicklaunch bar. Any ideas on how to fix this?

# re: Subwebs On The Quick Launch (No Assembly Required) 5/31/2006 4:51 PM Todd Bleeker

tchristo,

As memory serves me, the JavaScript looks for the word Survey at the bottom of the QuickLaunch bar and for the UpLoad link at the top right of the page. If it doesn't find these than it doesn't know where to attach the HTML that it generates. It was written with the built-in Microsoft STS template in mind but it shouldn't be difficult to modify.

HTH,

<Todd />

# SharePoint Web Parts: Free 3rd Party SharePoint Web Parts &amp; Tools 6/1/2006 3:45 PM The Boiler Room - Mark Kruger, SharePoint MVP

For those who aggregate my feed and do not often visit the blog iteself... I've updated my SharePoint...

# re: Subwebs On The Quick Launch (No Assembly Required) 8/18/2006 11:27 AM Joe K

So how does one install this web part?

# re: Subwebs On The Quick Launch (No Assembly Required) 8/18/2006 1:31 PM Todd Bleeker

To deploy:

1. Save the DWP (from the Mindsharp Premium Content Page: https://www.mindsharp.com/?premium=default) to your file system
2. Browse to the Default.aspx page of the WSS v2 Team Site you want to use it in
3. Choose Add Web Parts -> Import from the Modify Shared Page link at the top right corner of the page
4. Browse to the DWP that you saved in step 1 and click OK (or Open) button
5. Click the Upload button
6. Drag and drop the Web Part to a Web Zone

HTH,

<Todd />

# re: Subwebs On The Quick Launch (No Assembly Required) 12/8/2006 1:59 PM Karl Hanke

I would I add support so someone with Firefox or Netscape can see the subwebs listed? I am told that they can only see them if they use IE.

Karl H.

# Free SharePoint Web Parts (3rd Party) 6/26/2007 10:13 AM The Boiler Room - Mark Kruger, Microsoft SharePoin

Free SharePoint Web Parts (3rd Party) Konrad Brunner - UGS&#39;s Web Parts (broken link 8/25) Document

# re: Subwebs On The Quick Launch (No Assembly Required) 2/12/2008 6:46 PM Oyun

For those who aggregate my feed and do not often visit the blog iteself... I've updated my SharePoint...
..

# re: Subwebs On The Quick Launch (No Assembly Required) 2/15/2008 1:58 PM ask siirleri

For those who aggregate my feed and do not often visit the blog iteself... I've updated my SharePoint...

# WSS 3.0 & MOSS: Web Parts for free a tutiplen! 7/15/2008 3:18 PM Blog del CIIN

Qué SharePoint está de moda es algo que está más que claro, que hay un montón de gente trabajando en

# lancement rapide | hilpers 1/22/2009 9:50 AM Pingback/TrackBack

lancement rapide | hilpers

# A couple of clicks to affluence! 12/7/2009 1:31 PM GreceaerorLob

Good day !.
You may , perhaps very interested to know how one can collect a huge starting capital .
There is no need to invest much at first. You may start to get income with as small sum of money as 20-100 dollars.

AimTrust is what you haven`t ever dreamt of such a chance to become rich
The company represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with offices around the world.
Do you want to become really rich in short time?
That`s your chance That`s what you really need!

I feel good, I began to get real money with the help of this company,
and I invite you to do the same. It`s all about how to choose a correct partner who uses your money in a right way - that`s it!.
I earn US$2,000 per day, and my first investment was 500 dollars only!
It`s easy to get involved , just click this link http://imacedek.jamminweb.com/cabybe.html
and lucky you`re! Let`s take our chance together to feel the smell of real money


Comments on this post are closed.
Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments