How do I implement different favicons for all my websites in a multisite environment?
Johann, this is what I did, this is for a page template that uses the bootstrap ResourcePackage.
I have a config fils (some xml) where I have a mapping of siteName (how you named the site in multisite, and a favicon tag for the page head.
using SystemManager.CurrentContext.CurrentSite.Name will get you the siteName, and then I use that to go figure out what favicon to pick, and then with the HtmlHelperExtension, I return the head tag, and then put it in the head of the page.
Thanks for your reply.
I would like to be clear about our requirement: We need for unique favicons to be displayed by users' browsers, depending on which site they are viewing.
The title and description in the KB article (as well as the feature request logged in the feedback portal) describes changing the visible favicon in the Sitefinity backend. As much as that is a useful feature, that is not as critical to us as having different favicons display for our users per website.
Is that possible?