views:

54

answers:

2

I'm trying to work out how to get sharepoint 2010 to display the quicklaunch on a web part page, the default.master trick I used in 2007 doesn't appear to work any more.

In my 2007 install, I simply edited the default.master and moved the quicklaunch code outside of the PlaceHolderLeftNavBar element but this doesn't have any effect in SP2010.

Thanks

A: 

Hello!

You need to make changes in v4.master (in masterpage library), not in default.master.

For details on SharePoint 2010 master pages, please, follow this link:

http://sharepoint-sandbox.com/index.php?/Tips-and-Tricks/Customization/tip-80-sharepoint-2010-new-masterpages.html

Your masterpage trick on my SharePoint Foundation 2010 environment works fine.

Anyway, I don't think, that moving any standard code from placeholder is a good idea. If you want change position of quicklaunch menu, you should move the leftnavbar placeholder itself, including all the contents.

Placeholders are generally used to allow some pages, for example application pages, replace placeholder contents. So, if you hide the placeholder, and move it's contents out, these changes will be lost, and the standard menu will be shown. (and if you do not hide the placeholder, you can get two menus on one page :) )

Hope it helps!

omlin
A: 

If you really want to place another copy of the quicklaunch on a web part here is the steps

  1. Using Sharepoint Designer 2010 go to your site and navigate to Master Pages -> v4.master

  2. Click edit file copy everything in the <div class="ms-quickLaunch"> that should copy everything you need for the quicklaunch to run. For best result use the code view and hover over the quicklaunch and you should see the div, click on it and copy (Ctrl + C)

  3. Now you can paste that on another web part page and it should work, I tried it by creating a new test page and it worked

Raymund

related questions