Thursday, September 27, 2007

How to brand your SharePoint site with your company's logo

Today someone at work asked me to do a little research on which options there are to add a company logo to a SharePoint 2007 environment. This is quite a basic customization and I thought of a couple of options myself and did some further research on what other people had written. There are (as far as I see it) 4 options to do this:

- Change the logo through the Site Settings (by using the "Title, description, and icon" option). While this is really easy and this doesn't require any coding or designing, the problem with this is that it only changes the logo for the current site, so subsites won't get changed this way.

- You could write a simple command line tool that loops through all your sites and subsites and changes the logo by using SPWeb.SiteLogoUrl. While this is a good way to make sure that every single site gets the new logo, it does require you to run it again when adding new sites.

- A way to make sure that every single site uses the new logo, is to replace the default "titlegrapic.gif" with a new image (of course, backup the default image, you never know...). The image can be found under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES.

- The last way to replace the site logo is to make a custom master page. In this master page, you replace the placeholder for the site logo with a link to your own logo. Now assign the new master page to your site collection and let it's subsites inherit this master page.
For more info on how to do this one, check out Shane Perran's blogpost.


If you have another suggestion on how to do this, feel free to add it!

No comments: