Display QuickLaunch on WebPartPage in sharepoint 2010
Solution 1
If you really want to place another copy of the quicklaunch on a web part here is the steps
Using Sharepoint Designer 2010 go to your site and navigate to Master Pages -> v4.master
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)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
Solution 2
A simple way to eneble Quick Launch Menu on WebPartPages is remove tags UIVersionedContentUIVersionedContent and PlaceHolderLeftNavBar using SharePoint Designer 2010. See this article: http://denmartins.wordpress.com/2011/05/07/exibir-menu-quicklaunch-em-webpartpages/
MalphasWats
Updated on July 10, 2022Comments
-
MalphasWats almost 2 years
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
-
JonDrnek about 12 yearsI cringe at the thought of how many architects are now trying to figure out how to deal with a 2-year-old SharePoint installation where some clueless dev changed OOTB master pages in SP Designer after finding this post.
-
KyleM about 12 years@Rex M that wasn't the OP's suggestion, reread his post. And anyway, there is nothing wrong with modifying a master page in SPD. It only changes the master page for that site collection.
-
Paweł Bulwan over 10 yearsthis works because placeholders that are present on a custom page "replace" those in master page while rendering page. Removing the content placeholders in page causes left panel to be rendered normally in master page, as there's nothing to override them. See sdt.bz/content/article.aspx?ArticleID=33596&page=1 for example of this mechanism.
-
amatusko about 10 yearsThis is the best answer. I just solved a nagging issue where I created a custom page layout based on the WelcomeSplash.aspx OOB layout. I removed the line for the PlaceHolderLeftNavVar (UIVersionedContent was not in this one because it was for a different kind of page layout, I assume).