Updated 2010 Starter Master Pages up on CodePlex 7

Just a quick note to tell everyone that I have updated my starter master pages on CodePlex. I have made several minor tweaks that should help them be more “minimal” for easier use in your branding projects. Here are some of the bigger updates in this release: Additions to the SharePoint Server starter master page to include some My Site support A third starter master page that works with the Meeting Workspace (yes they still require a unique master page in 2010 but unlike in 2007, they are very similar to the standard master page) You can grab my latest starter master pages from: http://startermasterpages.codeplex.com If you still need the previous version here is the link: http://startermasterpages.codeplex.com/releases/view/36075

Microsoft’s SharePoint 2010 Starter Master Page 1

Last week, Microsoft’s Dallas Tester (http://twitter.com/dgtester) posted a new starter master page for SharePoint 2010: http://code.msdn.microsoft.com/odcSP14StarterMaster For those that don’t already know, “Starter” is the new term for minimal master pages that were available for SharePoint 2007. Here are some screenshots of the starter master page in action, you will see that it is quite minimal: This is a great resource for learning about SharePoint 2010 master pages. If you are interested in another type of starter master page experience, you can always check out my own starter master pages at http://startermasterpages.codeplex.com. They are less minimal, but still are a good starting point for SharePoint 2010 branding projects.

Removing the Name ActiveX Control Warning in SharePoint 2010 4

When I initially looked at SharePoint 2010 I was disheartened to see that my old nemesis the Name.dll ActiveX control warning was still popping up on my sites. If you haven’t seen it yet, here is a screenshot: The warning has to do with SharePoint wanting to show presence info (the little green icon next to people in your organization that are currently online). It often ends up showing on public SharePoint sites because it is elusive in development environment, it will only show in these circumstances: IE7 or IE8 Site must not be in the Intranet zone, which typically automatically includes any site that you are local to or share a domain with Must have Office, or Messenger or any other similar program installed Must have NOT already said yes to IE installing the ActiveX control If any one of those criteria isn’t met, the warning doesn’t show for you, but it most likely ...

Error in Current Docs for Upgrading Fixed Width Master Pages to SharePoint 2010 4

This probably affects anyone that has tried to make a fixed width master page in SharePoint 2010 (unless you have already noticed the error) it affects the MSDN article Upgrading an Existing Master Page to the SharePoint Foundation Master Page and my Starter Master Pages (expect an update to my starter master pages very soon). In the article it states: If your page is fixed width, add the class s4-nosetwidth to the bodyContainer div element. The updated div element would look like the following. <div ID="s4-bodyContainer" class="s4-nosetwidth"> In actuality you need to place the s4-nosetwidth on the previous div tag like this: <div ID="<strong>s4-workspace</strong>" class="s4-nosetwidth"> Without that line SharePoint injects CSS inline to your and sets the width the current size of the browser (which completely wrecks most fixed width design).

SP2010 Branding Tip #11 – Un-Floating the Ribbon in custom Master Pages 8

In the 2010 out of the box master pages, Microsoft has included code that causes the ribbon to float above the rest of the page content (you might say it sticks to the top of the page). You can see the effect here: See how the right scroll bar stops at the ribbon? That’s the new functionality at work. It makes editing the page a nicer because you don’t have to scroll to the top of the page constantly. But what if you are doing a VERY stylized branded SharePoint site? Sometimes this functionality can get confused, especially if you are using CSS to position the body “fixed”. I saw this happen recently when Paul Keijzers (@KbWorks on Twitter) was having problems using my Starter Master Pages (http://startermasterpages.codeplex.com). His problem would have been the same if he used Microsoft’s v4.master. So, how do we make the page scroll in a more traditional fashion? Pretty easy, ...

New SDTimes Article: The New Theming Engine 1

My latest article for SD Times has been published to their website, titled Spotlight on 2010: The New Theming Engine. Obviously, it’s an overview of how themes work in SharePoint 2010. Check it out: Spotlight on 2010: The New Theming Engine

SP2010 Branding Tip #10 – Hide Ribbon Completely for Anonymous Users 1

This question came in as a comment on a previous blog post. I’m sure there may be better ways to do this, but one thing I did on the http://beta.sharepoint911.com site was to hide the ribbon completely for non authorized users. I did this by using an asp:LoginView with an AnonymousTemplate and hiding the CSS. <asp:LoginView id="LoginView" runat="server"> <AnonymousTemplate> <style type="text/css"> body #s4-ribbonrow { display: none; } </style> </AnonymousTemplate> </asp:LoginView> Of course if you do this, you will probably need to handle creating a login link for your authorized users yourself.

SharePoint 2007 Branding Article – Conditional Logic in XSL Using the XML Web Part

I just realized that my SD Times “SharePointer” article from September was published (probably has been for a while). This article is a simple example of how you can use conditional logic in XSL to color code XML data in a SharePoint XML Web Part based on certain numeric values in the data. SD Times – Share Pointers: Conditional Logic in XSL Using the XML Web Part

Starter Master Pages for SharePoint 2010 (Formerly Known as Minimal Master Pages) 30

In the tradition of those SharePoint branding folks that came before me, I have put together two minimal master pages that can be used to start a SharePoint 2010 Branding project. They contain only very minimal HTML styling in order to accommodate some of the specific needs of SharePoint 2010 and are commented throughout. I hope you find them useful as a good starting point for creating branded SharePoint sites. If you make improvements upon them that could be used to improve the Starter Master Page experience for others, please share the changes with me so that I can potentially roll them into the main distribution. Note: With SharePoint 2010, Microsoft has actually included their own master page called minimal.master which has a specific use for pages that will have very minimal chrome. Because of this, I am using the term Starter Master Page for my Master Pages instead of the term Minimal Master Page. ...

SP2010 Branding Tip #9 – Turn on Anonymous Access 5

Ok, its not really a branding tip, but I’m on a roll here. In SharePoint 2010 if you want to setup your site to allow anonymous visitors, the process is much like it is in SharePoint 2007 except that the ribbon is now part of of the process. While I have really gotten used to the ribbon, this option I find particularly confusing. Just like in SharePoint 2007 the process begins in Central Administration, either you set the web application to Allow Anonymous access in the initial web application creation screen OR you need to set it afterward. If you are going to set it after, click on Manage Web Applications and select a web application from the list and take a look at the ribbon: You might be inclined to click Anonymous Policy as I was initially but this does NOT allow you to turn on Anonymous access. Instead click Authentication Providers: From this ...