Skip to main content

Easily show a Favicon in SharePoint 2010

In SharePoint 2007 we had to mess around with the typical HTML tag for the favicon:



In SharePoint 2007 we had to mess around with the typical HTML tag for the favicon:

<link rel="shortcut icon" href="/Style%20Library/Images/favicon.ico/>

But, in SharePoint 2010 there is a special control for adding favicons:
<sharepoint:spshortcuticon runat="server" iconurl="/Style Library/Images/favicon.ico"/>

this control u can find it in Master page in tag

but since its a control you can easily use things like $SPUrl to help with the paths.

Comments

Popular posts from this blog

SharePoint 2010 Branding: Change site actions and welcome menu arrows

Here's how you can do it. Hide the image and give our custom image element a background image. Look Like: .ms-viewselector-arrow {     background: transparent url('/PublishingImages/images/Arrow.png') no-repeat scroll 0 0;     height: 4px; /* height of the image */     width: 5px; /* width of the image */ } .ms-viewselector-arrow img {     display: none; }