Setting the favicon in the address bar or tab
-
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Setting the favicon in the address bar or tab
Does someone know how to set the favicon (favorite icon)?
In other words how can I change: I want to put our own icon on these places.
In other words how can I change: I want to put our own icon on these places.
You do not have the required permissions to view the files attached to this post.
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Re: Setting the favicon in the address bar or tab
There's a few ways to do this.
a) If there is a file named favicon.ico in the root folder of the webserver, the browser will use that.
b) You can specify the favicon to use in the <head> section of your web page.
For example:
For a WebHelp system, you could add this to Default.htm in your output (so you'd need to update this by hand) , and the path to the image might be in the WebHelp itself, e.g.:
The image needs to be in icon format (.ico) for it to work in Internet Explorer (I think Firefox will be happy with a ICO, GIF or PNG).
a) If there is a file named favicon.ico in the root folder of the webserver, the browser will use that.
b) You can specify the favicon to use in the <head> section of your web page.
For example:
Code: Select all
<link rel="shortcut icon" href="http://www.yoursite.com/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="icon" href="http://www.yoursite.com/favicon.ico" type="image/vnd.microsoft.icon" /> Code: Select all
<link rel="shortcut icon" href="Content/Resources/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="icon" href="Content/Resources/favicon.ico" type="image/vnd.microsoft.icon" /> -
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Re: Setting the favicon in the address bar or tab
Thanks Dave,
It does work with Firefox, but not with Internet Explorer
It does work with Firefox, but not with Internet Explorer
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Setting the favicon in the address bar or tab
Often enough the favicon for a site is cached. You should see it after clearing out the browser cache (although considering IE to be a browser is a stretch).
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Re: Setting the favicon in the address bar or tab
Hmmm. It is supposed to work, although I must admit I've only used this before with my website, and not with local files.DocuWil wrote:Thanks Dave,
It does work with Firefox, but not with Internet Explorer
Firefox seems to pick up the favicon for local files, but IE doesn't.
Re: Setting the favicon in the address bar or tab
Doesn't the favicon have to always be at the root of the website? Maybe that's just a requirement for IE and FF is smart enough to be able to follow a path into the site. I've also never seen the type="image/vnd.microsoft.icon" code before, but then, it's always picked it up automatically from the root and I've never had to insert a ref link to it. Is that code really required? Is that code compatible with IE6 and IE7?
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Setting the favicon in the address bar or tab
I also only ever know it to be in the root of the htdocs folder.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Re: Setting the favicon in the address bar or tab
I'm guessing that would be on an Apache server? On IIS it just has to be in the root folder (there is no htdocs folder).RamonS wrote:I also only ever know it to be in the root of the htdocs folder.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Setting the favicon in the address bar or tab
I was talking about web servers.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Re: Setting the favicon in the address bar or tab
Same here.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Setting the favicon in the address bar or tab
You mentioned IIS, which is just a the product of ten drunken monkeys with a game console.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
-
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Re: Setting the favicon in the address bar or tab
That is one of the first things I tried, but didn't work.LTinker68 wrote:Doesn't the favicon have to always be at the root of the website?
And ... htdocs, indeed that's Apache server. I also develop websites with Joomla and then I have to put the favicon in the root of the used template. Thinking of that, I have put the favicon (by the way, always 16 x 16) in all directories of the WebHelp. Nothing.
Maybe I have to put it as a feature request, although it is not that important. On the other side, it increases professionality a little bit more.
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Re: Setting the favicon in the address bar or tab
It's a newer 'standards' way to do it.LTinker68 wrote:Doesn't the favicon have to always be at the root of the website? Maybe that's just a requirement for IE and FF is smart enough to be able to follow a path into the site. I've also never seen the type="image/vnd.microsoft.icon" code before, but then, it's always picked it up automatically from the root and I've never had to insert a ref link to it. Is that code really required? Is that code compatible with IE6 and IE7?
http://en.wikipedia.org/wiki/Favicon#In ... ardization
http://www.w3.org/2005/10/howto-favicon
I think the main benefits are that the icon can be set for a particular page (not just the whole site), and can be located where you want.
Looks like there might be some issues with IE compatibility though. Generally, IE seems to be a bit more hit and miss with favicons. I've seen it use the wrong favicon (use one from another site), or display the icon in the location bar (to the left of the URL) but not on the tab itself.
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Setting the favicon in the address bar or tab
Thanks for providing the links. The reasoning is quite convincing. So one should not solely rely on the favicon to be in htdocs. I assume that a link specification in the page takes precedence.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
-
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Re: Setting the favicon in the address bar or tab
That's right and what I have discovered earlier.RamonS wrote:I assume that a link specification in the page takes precedence.
Anyway, it remains a difficult subject.
I try support. Maybe they have an answer.
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Re: Setting the favicon in the address bar or tab
Did you also try doing a forced refresh in the browser? Seems like I had to do that to get our favicon to show up. And if you have a link in your browser favorites then you might have to go back to the site again by clicking on the link to get it to update the browser favorites with the icon.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Re: Setting the favicon in the address bar or tab
Oh yes Lisa I did.
I am aware of that. I even not only the F5 but also the CTRL+F5.
BUt, it is one easy to forget.
Thanks
I am aware of that. I even not only the F5 but also the CTRL+F5.
BUt, it is one easy to forget.
Thanks
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
-
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Re: Setting the favicon in the address bar or tab
I just got the message from support that they had a look on it and came more or less to the same experiences I had.
So, they added a feature request for a favicon.ico option.
So, they added a feature request for a favicon.ico option.
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Re: Setting the favicon in the address bar or tab
Before I enter another enhancement request for this, I thought I'd ask y'all whether it was implemented in Flare 7? I'm still on 6.1.
-
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Re: Setting the favicon in the address bar or tab
Hi,
Unfortunately I didn't discover a change. I could image that it should be possible to set it in the skin.
Unfortunately I didn't discover a change. I could image that it should be possible to set it in the skin.
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Re: Setting the favicon in the address bar or tab
When I publish the target, Flare is removing the link to the favicon in my startup topic in the published output. As a result, the favicon doesn't appear in browser tab.
Suggestions!
Suggestions!
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Setting the favicon in the address bar or tab
You really should only have to drop it into the content folder so that it gets dragged into the output. Browsers will then pick up that icon automatically. Not sure why you linked it to a topic, but maybe I misunderstand something.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
-
nzinopoulos
- Jr. Propeller Head
- Posts: 8
- Joined: Thu Jul 18, 2013 1:36 am
- Location: Paris, France
Re: Setting the favicon in the address bar or tab
Adding the favicon file to the Content folder of your Flare project will indeed push the icon file to your published output but it will not display by default on your browser without a reference to its actual location via a link in your page head section.
The default browser behavior (i.e. no need for ref link) occurs on the conditions that :
Flare does not give authors any direct access or control over the contents of the root folder that it publishes on your server. So unless you can place your favicon.ico file in your WebHelp's root folder manually after you have published your Flare output on the server, you are out of luck. Furthermore, you would probably have to do the same manipulation every time you publish the output. Not exactly a long-term solution to be proud of.
On the other hand, you can place your favicon.ico file wherever you like under the root folder, provided you specify its location to the browser via a ref link in the head section of your Default.htm page (this is the "only" page that the browser sees from your WebHelp site - all topic content is embedded in a frame of Default.htm).
Unfortunately once again, Flare does not give authors prior access and control over the head section of Default.htm until the output has been built and published on the server.
That's where mighty jQuery comes to the rescue. A single jQuery statement (OK two actually
) allows us to append the required ref link to the page head section, on the fly, just when the viewers browser displays the page. And the icing on the cake is that you can achieve that just by setting once a parameter in your Flare project. Here's how to do it :
Hoping the above will help you make your favicons less shy.
Oh, and all the credit goes to Dave Lee (see his post here: http://forums.madcapsoftware.com/viewto ... d=a#p90939 ) who gave me the key to Flare's skins backstage. Cheers David !
The default browser behavior (i.e. no need for ref link) occurs on the conditions that :
- your favicon file is named favicon.ico,
- favicon.ico is located in the root folder of your WebHelp site.
Flare does not give authors any direct access or control over the contents of the root folder that it publishes on your server. So unless you can place your favicon.ico file in your WebHelp's root folder manually after you have published your Flare output on the server, you are out of luck. Furthermore, you would probably have to do the same manipulation every time you publish the output. Not exactly a long-term solution to be proud of.
On the other hand, you can place your favicon.ico file wherever you like under the root folder, provided you specify its location to the browser via a ref link in the head section of your Default.htm page (this is the "only" page that the browser sees from your WebHelp site - all topic content is embedded in a frame of Default.htm).
Unfortunately once again, Flare does not give authors prior access and control over the head section of Default.htm until the output has been built and published on the server.
That's where mighty jQuery comes to the rescue. A single jQuery statement (OK two actually
- Save your favicon (16x16 Microsoft Windows icon format - .ico) wherever you want in the Content folder of your Flare project (I find the Content/Resources/Images folder to be a sensible choice) .
- Switch to Flare's Project Organizer and open your skin file (by default in Project/Skins).
- Display the Toolbar pane/tab of the file and click the Edit... button at the bottom of the right-most frame (labelled: Custom JavaScript to include in Toolbar page).
- In the Toolbar JavaScript dialog box that just opened, paste this tiny jQuery magic spell (remember to replace the href attribute value with your own relative path to favicon.ico):
Code: Select all
$(document).ready(function(){ $('head').append('<link rel="shortcut icon" href="Content/Resources/Images/favicon.ico" type="image/x-icon" />'); }); - Click OK to close the dialog box and save your skin file.
- Build and Publish your WebHelp target.
- Sit back and enjoy the view of your favicon while thinking of all the other great things you could achieve coaching your Flare + jQuery dream-team...

Hoping the above will help you make your favicons less shy.
Oh, and all the credit goes to Dave Lee (see his post here: http://forums.madcapsoftware.com/viewto ... d=a#p90939 ) who gave me the key to Flare's skins backstage. Cheers David !
Nicolas Zinopoulos
(Using Flare 12 on Windows 7 64)
(Using Flare 12 on Windows 7 64)
-
techwriter31
- Propellus Maximus
- Posts: 551
- Joined: Wed Mar 05, 2008 10:50 am
Re: Setting the favicon in the address bar or tab
Thanks nzinopoulos!
I have been storing my favicon.ico file in the root of my website, and it has displayed properly for Chrome and Firefox. Now, I am attempting to force IE to include my favicon and have a few questions:
1) I have the favicon saved within my project (16x16 favion.ico). I also have "Exclude content not linked directly or indirectly from the target". I have to have this checkbox checked for my output, as there are a lot of files that I do not want to include. Is there a way to force the favicon to be included in the published output? (For css files, I typically will add a link to the file in the header of my master page, but this doesn't work for the favicon.)
2) When adding the jQuery code to the skin, can we simply include the following statement? (I include the "Content" folder in my output, so this path is valid for my favicon.)
Or do we need to include both statements?
Any advice is greatly appreciated!
I have been storing my favicon.ico file in the root of my website, and it has displayed properly for Chrome and Firefox. Now, I am attempting to force IE to include my favicon and have a few questions:
1) I have the favicon saved within my project (16x16 favion.ico). I also have "Exclude content not linked directly or indirectly from the target". I have to have this checkbox checked for my output, as there are a lot of files that I do not want to include. Is there a way to force the favicon to be included in the published output? (For css files, I typically will add a link to the file in the header of my master page, but this doesn't work for the favicon.)
2) When adding the jQuery code to the skin, can we simply include the following statement? (I include the "Content" folder in my output, so this path is valid for my favicon.)
Code: Select all
$('head').append('<link rel="shortcut icon" href="Content/Resources/Images/favicon.ico" type="image/x-icon" />');Code: Select all
$(document).ready(function(){
$('head').append('<link rel="shortcut icon" href="Content/Resources/Images/favicon.ico" type="image/x-icon" />');
});Kellie
-
DocuWil
- Sr. Propeller Head
- Posts: 344
- Joined: Thu Feb 09, 2006 1:22 am
- Location: Netherlands
- Contact:
Re: Setting the favicon in the address bar or tab
Thank you Nicolas,
I did exactly what you wrote.
It works with Chrome and Firefox. That is great already.
But it does not work with IE11
.
Wil
I did exactly what you wrote.
It works with Chrome and Firefox. That is great already.
But it does not work with IE11
Wil
Wil Veenstra
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)