The web has changed and things have moved on, not really a shock, but the evolution of the latest web browsers is changing things. In particular Internet Explorer 9 allows you to take any site you see on the web and turn it into a native application by simply dragging a tab down to the task bar. If you think that pinning a site isn’t overly useful consider some of the stats that the process drives, Huffington post drove views by users visiting their site through pinning up by 11%…now translate that to your SharePoint site, your intranet. Your users could be finding more stuff through the intranet, saving them some time. The cost? a few lines of simple code.
What you need to do
Rather obviously I’m only going to describe the steps for SharePoint 2010, you can probably work them out for other versions just fine.
Open your SharePoint site using SharePoint designer (you’ll need to get SharePoint designer from here if you don’t already have it) and open your site. Then you’ll need to:
So this is the code you need to enter and it needs to go within the <head> and </head> tags, I’d suggest placing this code towards the end of the HTML header.
Now that you know where it goes, lets walk through the code, line by line to understand what it does.
You will also need to create a favicon, I use icoFX which is free and can take a normal image and turn it into an ico file. You’ll also want to do the same thing to create a nice custom icon for the SharePoint site, so simply do that and ensure you save it with a 256x256 pixel size. Finally to make this icon the favicon for your site you’ll need to edit one more line…
<SharePoint:SPShortcutIcon runat=”server” IconUrl=”xxxx”>
Here you need to change the IconUrl value to be the location of the new favicon on your SharePoint server, this will be the same icon that is used on the toolbar and in the top left of the browser window.
In a future post I’ll show you how to take this simple code and do more with it, isolate it from browsers that don’t support it and create overlays of the icon on the task bar to show you there new things.