Saturday, November 13, 2010

Adding Quick Launch to custom webpart Pages

Where did that trusty Quick Launch Bar disappear to? Last time I remember, left it right here -

Has this happened to you? Have you searched high and low looking for some mystery setting in the Web Part Pages to display it? I know I have. Well let me tell you how to get it back, then how you can fix it so it appears for all newly created Web Part Pages in the future.
How to fix existing Web Part Pages to display the Quick Launch Bar
  1. Open SharePoint Designer 2007 and open your SharePoint site.
  2. Locate and open the existing Web Part Page and switch to Code view.
  3. Search for, and delete the following lines of code -

    < asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server">
    < asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server">


    Notice that they are all next to each other, so if you find one, you can find the other 2 easily.
  4. Save the file. Now you will see the Quick Launch Bar on that particular Web Part Page.
  5. Repeat steps 1 through 4 for each existing Web Part Page you want to display the quick launch bar on.

A sales engineer is someone who promise you a bridge, even when there's no river.