SharePoint 2010: Hide the Status Bar for Anonymous Users

Back in January I wrote an article on how to hide the Status bar for all users using css. What if you just want to hide the status bar not matter it’s content, but only for anonymous users? No problem, the fix is easier that using css.


All you have to do is use the trusty

1
<<span class="purple">SharePoint:SPSecurityTrimmedControl</span>>

Open you masterpage and look for the following code:


1
2
3
<div id="s4-statusbarcontainer">
    <div id="pageStatusBar"></div>
</div>

Add the

1
<<span class="purple">SharePoint:SPSecurityTrimmedControl</span>>

tag:


1
2
3
4
5
<<span class="purple">SharePoint:SPSecurityTrimmedControl</span> <span class="red">ID</span>="SPSecurityTrimmedControlStatus" <span class="red">runat</span>="server" <span class="red">PermissionsString</span>="ManageSubwebs">
    <div id="s4-statusbarcontainer">
        <div id="pageStatusBar"></div>
    </div>
</<span class="purple">SharePoint:SPSecurityTrimmedControl</span>>

Leave a Comment

Your email address will not be published. Required fields are marked *

Enter Code *

Filed Under

Related

Are you preparing to launch a new #SharePoint intranet?

Don’t spring it on employees out of the blue. First, talk to as many of them as you can.

Planning is just phase one. For all of our tips, watch our recent webinar!

http://ow.ly/dsQM50GqPI5

It's that time again! Join #Microsoft MVP & Regional Director, @EricOverfield on Thursday, October 28th, at 11:00 AM PST as he walks through #MicrosoftViva’s current state & offerings and what they mean to your #digitalworkspace right now.

http://ow.ly/3QFK50Gnx9f

It's the final countdown! Join @EricOverfield at 11am PST to learn about common pitfalls and paths to success when moving to #SharePointOnline. You'll walk away with practical tips to use in your organization today!

http://ow.ly/fdf150GjyJT

In today's episode of the #PixelMillWebinars, you'll learn from the experience of a global organization’s path to digital teamwork victory and get to see first-hand how to successfully plan a smooth migration for your team.

Join us at 11am PST!

https://pixelmill.com/webinar-9-takeaways-from-a-global-organizations-migration-to-sharepoint-online/

It's the day of the show y'all! Join #Microsoft RD +MVP @EricOverfield at 11am PST as we walk you through a multi-national enterprise software company’s migration journey to #SharePointOnline. Learn about common pitfalls and paths to success.

http://ow.ly/cN9250GjtGk

Subscribe to PixelMill's
E-news

* indicates required

Let's Talk Digital
Workspaces Today

Get In Touch