Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Hide Site Actions - SharePoint 2010

, 20 Nov 2011
Rate this:
Please Sign up or sign in to vote.
Hiding the Site Actions button on Public Facing SharePoint Foundation (or Server) sites.

Hiding the Site Actions button on Public Facing SharePoint Foundation (or Server) sites:

  • Open up SharePoint Designer
  • Open the Master Page being utilized for your sites
  • Locate the following snippet of code:
  • <span class="ms-siteactionsmenu" id="siteactiontd">
  • Add:
  • <SharePoint:SPSecurityTrimmedControl runat="server" Permissions="ManageSubWebs">

    just before the line of code in 3.

  • Right click on the tag in step 3 and click on Select Tag.
  • Enter this after the span tag: </SharePoint:SPSecurityTrimmedControl>.
  • Save the Master Page.
  • Approve and publish if required (server version).

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

shanNSK

India India
No Biography provided

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 20 Nov 2011
Article Copyright 2011 by shanNSK
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid