Home » Sharepoint 2010RSS

show/hide ribbon button

hello,

I hope I am posting this in the correct area. :-)

I am designing and customizing the moss 2010 for internet. I would like to make the ribbon bar on top invisible for all users. I know about the "HIDE RIBBON" under the "SITE ACTIONS", but the thing is, this button is not there?!

do I have to activate something special, so that I can see this option? any special site collection feature?

and the other question is, when I use this "HIDE RIBBON", is it stll visible for administrators and contributors?

 

thank you

kr

miimoss

 

8 Answers Found

 

Answer 1

You need to post sharepoint 2010 questions here http://social.technet.microsoft.com/Forums/en-US/category/sharepoint2010

They will not get answered in this forum

 

Answer 2

thank you for moving the question to the right area!

I really hope someone can help me with that...

 

 
 

Answer 4

hi KSDN,

thank you for your answer. I already saw this one, but I honestly don't know where to put this code?

do you know where I have to add it?

 

Answer 5

Hi miimoss,

They are suggesting to make changes to:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL\v4.master

Important: Please ensure to backup the original file(s), before making any changes.

 

Answer 6

hi KSDN,

thank you again, but I am not using the v4.master on my portal, I have a customized masterpage.

and I am not that big codingtype :-), more the designertype, wher in my masterpage do I put this code, in the HEAD? or elswhere?

Or before the ribboncode?

thank you

 

Answer 7

Hi,

 

Use below code in your master page any where in footer, I think it will help you.

<asp:LoginView id="LoginView" runat="server">
     <AnonymousTemplate>
     <style type="text/css">
       body #s4-ribbonrow {
        display: none;
       }
      </style>
     </AnonymousTemplate>
      <LoggedInTemplate>
       <style type="text/css">
       body #s4-ribbonrow {
      display:none;
       }
      </style>

    </LoggedInTemplate>
    </asp:LoginView>
 
 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter