Is there any way to show Ribbon for visitors, in all pages, by default?

Normal Page View for Visitors: (No Ribbon)

enter image description here

Normal Page for Editors:

enter image description here

I am looking for a solution to display the ribbon for Visitors by default (even though only alertme and Email a Link will be enabled)

Editor's view of Page with Web Parts : enter image description here

Editor's view of Page with Web Parts when a webpart is selected :

enter image description here

Visitors View of the page with Multiple Web Parts (No Ribbon) enter image description here

As you can see even if I select the Web Part, Ribbon will not be displayed.

Ribbon will be shown if the visitor visits the document library page. For example enter image description here

I am looking for a solution by which I can display the ribbon always for all users.

3 Answers 3


Used Ribbon.CommandUIVisible property. I wrote code to set its value as True for everypage load.

public void ShowRibbon()
    SPRibbon current = SPRibbon.GetCurrent(this.Page);

    if (current != null && this.Page.Request.IsAuthenticated)
        current.CommandUIVisible = true;
  • Nice, i didnt know of that property. Will check it out Oct 22, 2011 at 8:13

What would you like the ribbon to show, when clicking the web parts?

What i'm trying to say is that the ribbon depends on context. If you have the appropriate rights, it will show you Item and List tabs in a list, but only when you are on the list forms pages, since that is the context that triggers the ribbon to show.

When looking at Xml List view web parts representing lists and libraries, you do not get a ribbon, unless you are in edit mode or clicked "Show Ribbon" from Site Actions (and this button only shows up if you enabled "Show Ribbon" in http://yourSite/_layouts/AreaNavigationSettings.aspx). When you do see the ribbon, what you see will again depend on context: if you are in edit mode and select a row in a list view web part, you will see Web Part Tools > Options, Page Tools > Insert and List Tools > Items | List.

If you are on a published page you should only see List Tools > Items | List` which i guess is the one you want? Just remember that you need to click on the list item to get the ribbon, since it works in context of what you select.

what team site looks like for visitor at login what team site looks like for visitor at login
visitor click web part chromevisitor click web part chrome
visitor click list item visitor click list item

  • Thanks for the answer. I have edited my question to include screenshots. Please check.
    – Shoban
    Oct 21, 2011 at 8:48
  • are you talking anonymous users or readers? Oct 21, 2011 at 11:19
  • the behaviour seems consistent with that someone disabled ribbon. When i log into a site with a reader, i see the ribbon. Did you check the ribbon setting (publishing site only) http://yourSite/_layouts/AreaNavigationSettings.aspx Oct 21, 2011 at 11:27
  • Above link activates 'show/hide' ribbon menu item. If you see my screenshots, visitor does not have Site Actions Menu. Another thing to note is.. 1) I give a visitor more rights and 2) enables ribbon using show/hide ribbon command. 3) I remove his rights and revert back to Visitor ..... and the visitor still sees the ribbon (with buttons disabled as per permission) :)
    – Shoban
    Oct 21, 2011 at 11:45
  • What happens behind the scenes when "show/hide ribbon" is clicked? Any ideas?
    – Shoban
    Oct 21, 2011 at 11:50

I dont know whether I have understood your requirement clearly, but hope this post helps - http://danielvg.dk/post/2010/07/11/SharePoint-Show-Ribbon-by-Default.aspx

  • Thanks Deepu. This is not what I am looking for :-)
    – Shoban
    Oct 21, 2011 at 8:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.