Converting a Custom SharePoint 2010 Master Page into a Search Center Master Page 34

This is a topic that I’ve been asked probably a hundred times since the SharePoint 2010 bits were released. Before I get into how I solve it, I’ll provide a little back story. To quote from my upcoming book, Professional SharePoint 2010 Branding & UI Design: There are three site templates to choose from when creating search sites in SharePoint 2010: Enterprise Search Center, Basic Search Center, and FAST Search Center. Unlike most other sites in SharePoint 2010, these sites do not have v4.master or even nightandday.master applied to them; instead, they have minimal.master applied to them. If you have a custom master page that is based on v4.master, nightandday.master, or even one of the typical starter master pages and apply it to one of these search center sites, you notice that the search center doesn’t work properly. This is because the page layouts and pages that are created by default for these search center ...

SP2010 Branding Tip #13 – Hiding the Recently Modified on Team Sites 7

I was asked today about hiding the Recently Modified menu from SharePoint 2010 Team sites. If you aren’t familiar with the menu, here is a screenshot of it: I did some poking around and it seems that the wiki pages add to the PlaceHolderLeftActions of the master page. While you could remove the placeholder, I’m sure it is used for other things. The safer thing to do would be to hide the Recently Modified section like this:    <style type="text/css">         .s4-recentchanges { display: none; }         </style> You can either add that to the master page or custom CSS for your SharePoint site or you could add it to an individual page as discussed here: http://blog.drisgill.com/2010/09/sp2010-branding-tip-12-hiding-quick.html

HTML5 and SharePoint 2010 (and the IE9 Beta) 4

With the release of the IE9 Beta yesterday (http://ie.microsoft.com/testdrive/) I’ve already started getting questions about whether HTML5 / CSS3 can be used with SharePoint. There is technically nothing that would stand in the way of using either with SharePoint (note, the page won’t validate as proper HTML5 code… but that should be obvious). That being said, I thought it would be interesting to take some SharePoint 2010 master pages and change the DOCTYPE to HTML5 and see how they look in the IE9 Beta. So I changed out the typical DOCTYPE with:    <!DOCTYPE HTML> Also note, by default, most SharePoint 2010 master pages have the following meta tag in them: <meta http-equiv="X-UA-Compatible" content="IE=8" /> This locks the page to displaying in IE8 rendering even in IE9, so I had to change this to IE=9 as well. With the DOCTYPE set and the meta tag changed, the master pages renders as an HTML5 page. Here ...

SP2010 Branding Tip #12 – Hiding the Quick Launch at the Page Level 8

A question I get asked almost every week. Randy, how do I hide the Quick Launch for just one page in SharePoint 2010. The answer is simple my friends: Content Editor Web Part with some specialized CSS. Note, this code is written specifically to work with v4.master, any other master page may need different CSS code to hide the Quick Launch. Edit a page, Site Actions > Edit Page Click in a wiki text or rich text area and from the ribbon click Insert > Web Part (or add a Web Part to a Web Part zone) Under Media and Content select Content Editor and click Add With the new Web Part selected, from the ribbon click Format Text > HTML > Edit HTML Source Enter the following HTML / CSS and click OK      <style type="text/css">           body #s4-leftpanel { display: none; }             .s4-ca { margin-left: 0px; }             </style> Hide the Web Part chrome by ...