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://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...

# re: Subwebs On The Quick Launch (No Assembly Required) 5/27/2008 3:06 PM bedava oyunlar

looks like very good

# re: Subwebs On The Quick Launch (No Assembly Required) 6/2/2008 5:24 AM Giysi Oyunları

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.
http://www.futboloyunlari.org
http://www.araba-oyunlari.com
http://www.arabaresim.net

# free online car game 6/28/2008 1:09 PM Araba yarışları

free online car game

# re: Subwebs On The Quick Launch (No Assembly Required) 7/3/2008 7:08 PM youtube

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

# 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

# re: Subwebs On The Quick Launch (No Assembly Required) 7/16/2008 8:34 AM Chat

Thank you my friend..

# re: Subwebs On The Quick Launch (No Assembly Required) 7/20/2008 6:11 PM youtube

thank you site admin..

# re: Chat 7/30/2008 10:44 AM Chat

thank you...
http://www.aleminyeri.net

# oyun 8/10/2008 6:18 AM oyun

thanks alot

# oyunlar 8/10/2008 6:19 AM oyunlar

thank you very much

# oyun oyna 8/10/2008 6:20 AM oyun oyna

THANKS

# çizgi film 8/14/2008 10:33 AM Çizgi Film

very good

# film izle 8/14/2008 10:34 AM film izle

very good

# gelinlikler 8/14/2008 10:34 AM Gelinlikler

very good

# masaüstü resimleri 8/14/2008 10:35 AM masaüstü resimleri

very good

# mercedes yedek parçaları 8/14/2008 10:35 AM Mercedes Yedek Parçaları

very good

# autocad kursu 8/14/2008 10:35 AM autocad kursu

very good

# müzik dinle 8/14/2008 10:36 AM müzik dinle

very good

# Bay 8/14/2008 10:36 AM Havuz

very good

# yemek tarifleri 8/14/2008 10:37 AM yemek tarifleri

very good

# Bay 8/14/2008 10:37 AM havuz

very good

# re: Subwebs On The Quick Launch (No Assembly Required) 8/14/2008 10:37 AM gaziosmanpaşa

very good

# re: Subwebs On The Quick Launch (No Assembly Required) 8/15/2008 1:55 PM bedava oyunlar

good write

# karadeniz resimleri 8/20/2008 3:01 AM karadeniz

Hi…internet is very good world. Because we are learning the information. And than one day fall down internet, we are tobe orphanhood. Thank you very much…

# re: Subwebs On The Quick Launch (No Assembly Required) 9/7/2008 8:40 PM Video Converter for Mac

To enjoy your favorite movie, video clips on your Mac OS, you need equiped with powerful video software on Mac, here you can find them.
http://wwww.downloadyoutubeformac.com/
http://wwww.flvconvertermac.com/

# re: Subwebs On The Quick Launch (No Assembly Required) 9/7/2008 8:40 PM Video Converter for Mac

http://wwww.divxtodvdconvertermac.com/
http://wwww.youtubeconvertermac.com/

# re: Subwebs On The Quick Launch (No Assembly Required) 9/10/2008 1:24 AM kabin

its good amazing.

# re: Subwebs On The Quick Launch (No Assembly Required) 9/10/2008 6:07 AM mırc

thanks.

# chat 9/11/2008 9:24 AM chat

chat, sohbet siteleri, canli sohbet

# sohbet siteleri 9/12/2008 10:55 AM sohbet siteleri

thank you .

# re: Subwebs On The Quick Launch (No Assembly Required) 9/15/2008 6:20 AM mirc

thanks.

# re: Subwebs On The Quick Launch (No Assembly Required) 9/16/2008 1:10 AM mirc

thanks.

# re: Subwebs On The Quick Launch (No Assembly Required) 9/16/2008 3:19 AM erotik shop

THANKS

# re: Subwebs On The Quick Launch (No Assembly Required) 9/16/2008 3:28 AM erotik shop

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

# re: Subwebs On The Quick Launch (No Assembly Required) 9/16/2008 3:28 AM sex shop

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

# Yarış Oyunları 9/23/2008 6:24 AM Yarış Oyunları

hersey güzel olacak

# Macera Oyunları 9/23/2008 6:37 AM Macera Oyunları

güzel bir haraket bu

# Spor Oyunları 9/23/2008 7:04 AM Spor Oyunları

Spor Oyunlari

# Zeka Oyunları 9/23/2008 7:07 AM Zeka Oyunları

Zeka Oyunlari

# oyun oyna 9/23/2008 7:30 AM oyun oyna

thanks alot

# oyunlar 9/23/2008 7:31 AM oyunlar

thanks alot

# oyun 9/23/2008 7:31 AM oyun

Zthanks alot

# Çocuk Oyunları 9/23/2008 7:42 AM çocuk oyunları

thanks alot

# hedef oyunları 9/23/2008 7:43 AM hedef oyunları

thanks alot

# beceri oyunları 9/23/2008 7:43 AM beceri oyunları

thanks alot

# sohbet 9/24/2008 12:06 AM chat

thanks

# netlog sohbet odalari 9/24/2008 12:07 AM sohbet

thanks lot

# netlog 9/24/2008 12:09 AM netlog

thanks

# cet odalari 9/24/2008 12:10 AM çet

thanks

# re: Subwebs On The Quick Launch (No Assembly Required) 9/26/2008 4:13 AM aşkı memnu

thanks

# re: Subwebs On The Quick Launch (No Assembly Required) 9/27/2008 2:45 AM oyunlar

thanks you verry good

# re: Subwebs On The Quick Launch (No Assembly Required) 9/27/2008 2:45 AM oyunlar

thanks

# re: Subwebs On The Quick Launch (No Assembly Required) 9/27/2008 2:46 AM oyun oyna

thanks you

# re: Subwebs On The Quick Launch (No Assembly Required) 9/27/2008 2:48 AM kız arkadaş

thank

# re: Subwebs On The Quick Launch (No Assembly Required) 9/28/2008 10:04 AM paylaşım

thanks

# re: Subwebs On The Quick Launch (No Assembly Required) 9/30/2008 11:58 AM araba oyunları

Wowww...This is what i need..thanks...

# re: Subwebs On The Quick Launch (No Assembly Required) 9/30/2008 11:59 AM savaş oyunları

Greetings!!I will bookmark for my son this site..

# re: Subwebs On The Quick Launch (No Assembly Required) 9/30/2008 11:59 AM kız oyunları

Really great web site...Thanks...

# re: Subwebs On The Quick Launch (No Assembly Required) 10/7/2008 10:34 AM chat

thanks

# re: Subwebs On The Quick Launch (No Assembly Required) 10/10/2008 4:15 AM erotik shop

erotikdakikalar.com thenks

# re: Subwebs On The Quick Launch (No Assembly Required) 10/10/2008 4:36 AM geciktirici

geciktiricispreyler.com

# re: Subwebs On The Quick Launch (No Assembly Required) 10/10/2008 4:37 AM peruk

laraperuk.com

Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments