Join me at Google+ ...

The third part of my SharePoint 2010 developer learning is about the new ribbon interface. It’s available in SharePoint Foundation 2010 and SharePoint Server 2010 and offers you an easier way to manage sites. It’s also possible to extend the SharePoint 2010 ribbon with custom buttons offering additional functionality.

This is the third part of a series describing my attempt to become a SharePoint 2010 developer using available resources.

Resources

First of all here are the resources I used:

Videos

The first link includes 5 videos and the second link includes 3 videos where the first video is about the new Ribbon presented by Ted Pattison.

MSDN

Blog posts

There is also a discussion going on if sandboxed solutions are useful or not… just check the links and the comments:

Using SharePoint 2010 – Ribbon and master pages

The resources above cover a lot of things so you can add almost all kinds of extensions to the ribbon or any other menu. But where is the ribbon located and is there a difference between collaboration and publishing?

SharePoint 2010 collaboration sites

Site templates like the team site now use the v4.master which is located in the \14\TEMPLATE\GLOBAL folder.

Ribbon location in v4.master.

As you can see in the picture you need to use the SharePoint:SPRibbon tag to place the ribbon.

What’s interesting here is the SharePoint:SPRibbonPeripheralContent allowing you to place content next to the tabs of the ribbon.

Ribbon user interface in a team site.

You can use Location="TabRowLeft" or Location="TabRowRight" to place additional content to the left or to the right.

SharePoint 2010 publishing sites

The publishing template uses the nightandday.master located in the \14\TEMPLATE\FEATURES\PublishingLayouts\MasterPages folder.

Ribbon user interface in a publishing site.

Here you can also place additional content next to the tabs with the method mentioned above.

SharePoint 2007 master pages

The SharePoint 2007 master pages are also installed with the 2010 version. If you manually upload e.g. the blueband.master to the Master Pages Gallery and use it with your publishing site you will miss of course the ribbon since it is not referenced in the old master pages.

Publishing page in SharePoint 2010 using a SharePoint 2007 master page destroying the layout.

Lessons learned:

Summary

Collaboration and publishing templates use the same Ribbon which can be enhanced in a lot of ways.
But the Ribbon is just one small part of a whole enhanced SharePoint 2010 UI: Master pages and page layouts with new controls and placeholders, JavaScript with the SP.UI namespace, XSLT… behind the scenes there are a lot of new things to learn.



Get updates

 

Comments (1) -

5/31/2011 9:07:40 AM #

I want to create four tab ribbon for a content/publishing page in Sandbox solution.I created the structure of ribbon but i don't get any solution to show my ribbon on a particular page.Can you suggest me that how can i show my ribbon on a page in sandbox environment because sandbox have own limitation you know so i can't use web part,user control etc.

darpan jain India Reply

Add comment




  Country flag
biuquote
Loading