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

Publishing SharePoint List InfoPath Form to a new location

Needed to move it from Dev to Production. File > Publish > Export Source Files. Close InfoPath Go to folder where Source Files are saved, open Manifest.xsf.  Find all instances of the URL and replace them with the new URL - there should be five. If you have secondary data connections, update those also. I use Notepad++ and “replace all” so it just takes a second.  Save the manifest.xsf file and close. Now right click on the manifest.xsf and select Design to open it back up in InfoPath.  Click on File >Publish and verify the URL is correct in the “Publish form to a SharePoint List” section”.