SharePoint 2010

Tuesday, April 12, 2011


sharepoint 2010, sharepoint ribbon, SP ribbon, SharePoint
SharePoint 2010 ribbon
Put this above the body in your master page. I found two divs that were root that I threw it in between towards line 293. This will hide the blue ribbon at the top of every page for users or groups that are not able to add or customize pages.

<Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" PermissionsString="AddAndCustomizePages">
    <script type="text/javascript">
        document.getElementById("s4-ribbonrow").style.display = "block";

No comments:

Post a Comment