Ready to upgrade your SharePoint 2007 branding to SharePoint 2010? 1

Maybe, not quite yet… you are probably still waiting for the public beta to release… but when it does, this will probably be one of the first things you want to look at. While the Visual Upgrade feature in 2010 is going to be a nice way to temporarily see your upgraded site with your old branding, this mode is only meant to be used briefly while you learn how to actually convert the master page and other branding assets to 2010. Thankfully, there is an early release article on the MSDN that covers this process, check out: Upgrading an Existing Master Page to the SharePoint Foundation Master Page   After reading through this list of steps, you may be wondering why you don’t have to change all of your Register tags at the top from 12 to 14 to point to the new assemblies… well lucky for all of us, Microsoft was kind enough ...

Editing SharePoint pages with IE8 driving you crazy with warning popups? 2

One thing I noticed right away when editing my SharePoint pages with IE8 was an annoying popup message that showed every time you navigate away from editing a page. “Are you sure you want to navigate away from this page?”: Want to know an easy fix for turning this message off? Check out this post: http://www.chakkaradeep.com/post/2009/07/11/IE8-to-SharePoint-e28098Are-you-sure-you-want-to-navigate-away-from-this-pagee28099.aspx

Random Branding Tip #1 1

Some of the out of the box SharePoint page layouts use a <div id="footer"> in the middle of the page. If your custom branded master pages, css, or theme has a style called out for #footer that sets a crazy width or height for your actual site footer it will ALSO apply to this div that is in the middle of the page inside of a table cell. This will end up stretching your entire page and is really difficult to track down. You have been warned.

SharePoint Designer wrongfully says a file is checked out when it is not 7

Ran into a new problem with SharePoint Designer today. Not sure how I caused this to happen but several files were marked as checked out in SPD despite the fact that the files were not checked out to anyone in SharePoint. SPD would not allow me to check out the files, errored if I tried to check in the files, restarting SPD didn’t help, even rebooting didn’t help. Turns out you have to clear a cache in the local app storage. The fix to this problem is to navigate to your local app settings WebSiteCache folder, which in Windows Vista is here: C:\Users\Randy\AppData\Local\Microsoft\WebsiteCache From there just delete all the files or just the ones that correspond to your SharePoint site. When you restart SPD you may have to check in/out the files one more time, but after the warning message the file status will return to normal. Thanks to Tom Puleo’s blog for the information

My MSDN Article is live – “Real World Branding with SharePoint Server 2007 Publishing Sites” 9

I’m excited to announce that the SharePoint branding paper that I wrote with Andrew Connell has finally been published to the MSDN. I put a lot of effort into creating a paper that was concise (well it is pretty lengthy, but believe me I edited plenty of stuff out) while still covering all of the important topics related to creating a branded website in SharePoint 2007. In essence the article encompasses what I do on a daily basis when designing SharePoint websites (barring a few things that were too complex to delve into). The first half of the article focuses on planning for SharePoint branding and the second half focuses on actually creating and deploying the branded SharePoint files. Real World Branding with SharePoint Server 2007 – Part 1 Real World Branding with SharePoint Server 2007 – Part 2 Also, for those of you that liked the previous Adventure Works site, this article features a ...

Fix for Photoshop Save for Web color shift problems 3

I’ve had a lot of problems lately with Save for Web producing colors that are slightly different than my source PSD. After finally losing my mind I set out to find a solution. The most direct discussion about the issue I could find was at www.viget.com. The gist of the article discusses doing these three things: Close anything that is open in Photoshop and click Edit > Color Settings. From there switch the color profile to Monitor Color and uncheck Ask When Opening. Click View > Proof Setup > Monitor RGB Now when clicking Save for Web, uncheck Convert to sRGB. This item may be a check box or underneath the little arrow on the top right depending on Photoshop version   For me, these changes did the trick, now my gifs and jpgs are as close to the original as my compression settings will allow. MUCH more discussion in the comments here: http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/

Firefox doesn’t respond to Enter Key in SharePoint Search Box 7

Stumbled across a funny little problem with SharePoint and Firefox today. Turns out that with some master pages, Firefox has a problem responding to the “enter key” when using the SearchBoxEx control. In these cases, hitting enter just refreshes the page. I only noticed it because a recent client wanted to hide the Search button. So, it turns out that this problem is actually solved in default.master where Microsoft use two unassuming lines of uncommented code: <input type="text" name="__spDummyText1" style="display:none;" size=1/> <input type="text" name="__spDummyText2" style="display:none;" size=1/> All you have to do is add these two lines to your custom master page anywhere before the final tag. Thanks to SteveNG for the blog post that solved this for me.

Slides and code from my branding presentation at SPTechCon

John Ross and I presented “Demystifying SharePoint Branding” as a half day presentation for SPTechCon Boston 2009 yesterday. We had a great turnout and hopefully everyone got a good introduction to the SharePoint branding process. The slides and the code samples are available here: Branding Demystified Slides – SPTechCon Boston 2009 Branding Demystified Code Samples – SPTechCon Boston 2009

Edit in Datasheet causes IE to crash – Problem Solved 3

Ran into a very strange “perfect storm” type of error in SharePoint tonight. When a custom master page is applied, editing a list in Datasheet View causes IE to just hang. The thread goes bananas and you have to fight with Task Manager to kill the process. I’m not sure I completely understand WHY this problem occurs, but I do have a pretty good idea how to fix it. Turns out you won’t see the problem unless some very specific scenarios are in place. If the custom master page has a DocType declared (which they all should) AND the parent HTML objects that contain PlaceHolderMain have ANY bottom padding applied OR there are any elements below the PlaceHolderMain inside of the same parent object (like a footer or Table cells) then for whatever reason the JavaScript that runs the Datasheet View gets confused and jumps into an infinite loop. If you run into this problem, ...

What’s New in the OOTB Master Pages for SP2 of SharePoint

If you live under a rock you may have missed all the news lately about the release of Service Pack 2 for Windows SharePoint Services 3.0 (WSS) and Office SharePoint Server 2007 (MOSS) (more info on SP2 here). Among the listed updates is this note: “The 2007 Office Suite SP2 has been tested and is supported for Internet Explorer 8”. I figured I would fire up a VM and compare the OOTB master pages (both source and output) between the pre and post SP2. Here are the results: default.master – Source unchanged blueband.master – Source gains: which will help force IE8 to render the page in IE7 mode. Note, if you manually force IE8 to render in IE8 mode the navigation still has issues displaying. For more info, see my previous post about IE8 and SharePoint.   default.master & blueband.master rendered page – They both gain an inline style for the Global Links section:    ...