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

Anyone who has 'attended' a physical meeting by 'conferencing in' in knows the frustrations & limitations that come from not being in the room. You're the voice in the ceiling & not equally represented in the conversation.

This is no longer acceptable.

http://ow.ly/EmFK50Fqqhu

Today, we find ourselves facing the “hybrid work paradox.”

Employees are keen to retain flexibility. At the same time, human-to-human collaboration remains important.

To marry the best of both, hone your strategy, spaces, & tech to suit employee needs.

http://ow.ly/JtVO50Fn8qX

It's the day of the show, y'all!

Join the #PixelMillWebinars this morning at 11am PST for a live panel discussion about what the #digitalworkspace looks like for a #hybrid team, & how #Microsoft365 can empower your users no matter where they're working.

http://ow.ly/q81i50FhITy

IT'S WEBINAR WEEK!

Join the #PixelMillWebinars this Thursday as we welcome key players from @OrchestrySoft, @KieferConsult, and @AP_Mortgage to discuss the hybrid work paradox and how #Microsoft365 can empower your users no matter where they're working.

http://ow.ly/2uc550FfqO6

We've all been itching to get "back to normal," but what does that mean? Are we missing out on valuable lessons learned by trying to return to something that perhaps wasn't working before?

Join us next week for a live panel discussion on the new normal.

http://ow.ly/CfsU50FdQXv

Subscribe to PixelMill's
E-news

* indicates required

Let's Talk Digital
Workspaces Today

Get In Touch