May 25
Hide the “All Site Content” Side Menu Link

From a usability standpoint the All Site Content link on the side menu of every SharePoint site can be disruptive and confusing for End-User's that navigate SharePoint. On occasion an End-User is surly to stumble upon this link and take them into areas of the site they cannot figure out how to back out of and navigate.

Depending on the way you use your SharePoint site you may opt to hide this link. To do this you have 2 options.

STEPS TO OPEN THE MASTERPAGE

  • Install and Open SharePoint Designer 2010
  • Open Site
  • Click All Files > _catalogs > masterpage > click the v4.master > Edit
    • Verify the masterpage you need to modify by inspecting it on the actual site
      • Site Actions > Site Settings > Look and Feel > Master page > verify the page .master in the dropdown option.

    • Once verifying the correct masterpage and you have open it, Click Edit File
    • One the file opens you will have a split screen (default) with Code and Design modes.
      • On the page design click the All Site Content Link from within the Design page.
    • Now switch to Code mode and make the following changes

OPTION 1 (Comment out the List)

  • Comment out the following (i.e. <!-- Code -->) Just like shown!
    (search for the text) This is the more common method I use.

<!--li>

<Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="ManagePermissions">

<SharePoint:ClusteredSPLinkButton

id="idNavLinkViewAllV4"

    runat="server"

    PermissionsString="ViewFormPages"

    NavigateUrl="~site/_layouts/viewlsts.aspx"

    ImageClass="s4-specialNavIcon"

    ImageUrl="/_layouts/images/fgimg.png"

    ImageWidth=16

    ImageHeight=16

    OffsetX=0

    OffsetY=0

                                    Text="<%$Resources:wss,quiklnch_allcontent_short%>"

    accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>

</SharePoint:SPSecurityTrimmedControl>

</li -->

 

OPTION 2 (Security Trim to not allow anonymous users see the list)

NOTE*
You can also redact other items that may not be needed such as the Recycle Bin which is accessible via the Site Actions Menu options.

RESOURCES
http://sharethelearning.blogspot.com/2008/07/hide-view-all-site-content-quick-launch.html
http://wyldesharepoint.blogspot.com/2009/08/hide-view-all-site-content-link.html
http://msdn.microsoft.com/EN-US/library/ms412690
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.spsecuritytrimmedcontrol.aspx

FURTHER READING
http://social.technet.microsoft.com/Forums/en-US/sharepointsocialcomputing/thread/9a8380dc-1821-43f1-ada3-f4fbd20aeeab/

Comments

There are no comments for this post.

 ‭(Hidden)‬ Blog Tools