11/14/2009 10:59:25 AM
Using custom favicon for all page types
When you want to use a custom favourites icon (favicon), that is in some location other than ~/favicon.ico, this is complex to do:
You can modify ~/CMSPages/PortalTemplate.aspx (as described in http://devnet.kentico.com/Knowledge-Base/Design-and-css/Different-favicons-per-site-in-Kentico-CMS-4-0.aspx) for content pages.
But if you want the same favourites icon to be used for other CMSPages (like handler404.aspx) or for CMSMessages, of for CMSDesk and CMSSiteManager, you have quite a complicated job to ensure that every page uses the favourites icon you want.
So it would seem easier just to use ~/favicon.ico, and none of this would be necessary. But if you want to change the favourites icon, you really have to rename it, to force Internet Explorer to notice the change, and use the new icon (otherwise IE will just use the previous, cached version it has).
So ideally, the favourites icon to be used would be added as a site-specific configuration option, with the Kentico code taking care of making sure every type of page uses it.