Wednesday, May 19, 2010

SharePoint 2010 | Hide Revert Template Message

This really annoying message keeps poping out, event for anonymous users.

"The current page has been customized from its template."

To fix it, look for "s4-statusbarcontainer" div and wrap it around a SPSecurityTrimmedControl or ASP LoginView

<Sharepoint:SPSecurityTrimmedControl runat="Server" PermissionsString="AddAndCustomizePages">
  <div id="s4-statusbarcontainer">
    <div id="pageStatusBar" class="s4-status-s1">


  1. the probleme with that approche is that you will hide all status message to users

  2. yes, you'll hide the messages for all users, when they're not logged in, which is something we usually want for public facing sites. let me know if you find other approaches.