Sharepoint - How do I hide the "Recently Modified" portion of the quick launch?

I achieved this in a much more simple way.

Follow this link - really easy for beginers linke me...

http://blog.incworx.com/blog/sharepoint-administrators-blog/hide-recently-modified-from-the-quick-launch

Edit page, insert content editor web part, edit source HTML of web part, paste in this HTML:

<style type="text/css">
 .s4-recentchanges
 {
 display:none;
 }
 </style>

Set web part chrome type to "none," save and close. Observe that the "Recently Modified" pages navigation is no longer showing on this page.


I accomplished this by using the steps outlined here.

  1. Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\DocumentTemplates\
  2. Open wkpstd.aspx in a text editor.
  3. Find <SharePoint:RecentChangesMenu runat="server" id="RecentChanges"/> and replace with <SharePoint:RecentChangesMenu runat="server" id="RecentChanges" visible="false"/>.

If you ever need to reverse this process simply remove the visible="false" from the same tag.

Edit: As David pointed out in the comments this is not considered a "best practice" as updates from Microsoft can effectively undo the changes made to files in the 14 hive. In theory, however, should an update reset your wkpstd.aspx file you could simply take these steps again to re-hide the Recently Modified section so long as the update didn't fundamentally change the tag that needs to be altered.


The accepted answer is an answer yes but this is really not a recommended way! The best way would be to place the CSS from the other answer in you master page!

<style type="text/css">
 .s4-recentchanges
 {
 display:none;
 }
 </style>

This protects you from the setting beeing removed trough updates etc.

Tags:

Design