Announcement

Collapse
No announcement yet.

favicon.ico

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    favicon.ico

    After reading some posts on this forum, I've created a 16 x 16 pixel .ico file and uploaded it to my root directory.

    Following some advice, I've tried to include:
    <LINK REL="SHORTCUT ICON" HREF="favicon.ico">
    between HEAD and /HEAD

    I'm really not sure how to do this. Even though I know a bit about HTML programming and have used it a fair bit on my website, I can't find how to use it in the header. I've tried to include it at the end of Meta Keywords using !!< ........ >!! but have not been successful.

    How can I get the favicon.ico to show in the address bar?

    Thanks in advance for any help

    Chris

    #2
    You need to add it to your Act_Primary and Act_BrochurePrimary templates. The code you need is:
    Code:
    <link rel="Shortcut Icon" href="http://www.mydomain.co.uk/favicon.ico" type="image/ico" />
    You will need to substitute your actual domain in my code snippet instead of 'mydomain.co.uk'; you will also need to ftp the favicon up to the root directory of your webspace.

    Out of interest you can also make animated favicons (for firefox only). Create an animated gif image (name it as per the snippet below) then upload it in the same way and use this code snippet:
    Code:
    <link rel="icon" href="http://www.mydomain.co.uk/animated_favicon1.gif" type="image/gif" >
    The beginning of your Act_Primary template for example will then be:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="robots" content="index,follow">
    <title>NETQUOTEVAR:PAGETITLE</title>
    <link rel="Shortcut Icon" href="http://www.mydomain.co.uk/favicon.ico" type="image/ico" />
    <link rel="icon" href="http://www.mydomain.co.uk/animated_favicon1.gif" type="image/gif" >
    ....

    Comment


      #3
      Thanks for your help.

      Have tried what you suggest, and checked it with View Source but, can't get the icon to work. Either I've saved the icon wrongly - which I think unlikey or, I don't really know which is my root directory

      Comment


        #4
        Should be in the same place as your home page is the easiest way to explain your root directory.

        Comment


          #5
          You can also check directly in your browser

          http :// yourdomain /favicon.ico
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            Originally posted by wjcampbe
            You can also check directly in your browser

            http :// yourdomain /favicon.ico
            Thanks lot. That works just fine.
            I'll check the Primary & Brochureprimary templates again

            Comment


              #7
              What are you hoping to find when you check? There should be no need for anything in the templates, since the browser check showed the file is in the right place. Just navigate to the site, click Favorites | Add to Favorites in IE and the icon should show up.
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #8
                Was hoping to see the icon I'd created.
                Instead, its just the default IE icon, both in the address bar and in Favorites.

                Comment


                  #9
                  Hi

                  try it in FF. IE can sometime hold onto your previous pages via cache, history etc.

                  Clean it out and you should see it fine.

                  Regards
                  Affordable solutions for busy professionals.
                  Website Maintenance | UK Web Hosting

                  Comment


                    #10
                    You don't have to add it to favourites to have it display in the browser address bar though. (Is this where the 'link' is needed perhaps Bill?)

                    Comment


                      #11
                      The only circumstance I know of that requires a <link> statement in the page, is when the favicon.ico file is not in either the current page's folder (/acatalog/ for most Actinic sites) or the root of the website.
                      Bill
                      www.egyptianwonders.co.uk
                      Text directoryWorldwide Actinic(TM) shops
                      BC Ness Solutions Support services, custom software
                      Registered Microsoft™ Partner (ISV)
                      VoIP UK: 0131 208 0605
                      Located: Alexandria, EGYPT

                      Comment


                        #12
                        I'm more interested in displaying the icon in the browser address bar than the favorites list but, had assumed that it should show in both?

                        Comment


                          #13
                          I now have the icon showing in the address bar when on all catalog pages but strangely, not on the home page. I've tried putting favicon.ico in the root directort AND the acatalog directory.

                          Where am I going wrong?

                          Comment


                            #14
                            I think there are caching problems with favicon. I've added one a few days ago and IE7 displays it correctly, but an older version of IE6 has yet to find it.

                            I think only IE7 displays it in the address bar. I might be wrong here.

                            Once you get one working, it looks really good. It is worth the effort, as IE7 becomes more popular; means people won't 'lose' your site.


                            Alan Compton
                            www.greenknightgames.co.uk
                            Great board games and cards games you won't find in the High Street
                            http://www.greenknightgames.co.uk/ac...er_Game_7.html
                            Khet - The Laser game - its like chess, but with a couple of Class 1 lasers!

                            Comment


                              #15
                              Working?

                              Hi,
                              Is it possible for someone to check my favicon is working.
                              I can't see it but I am hoping it is due to my Cache.
                              Thanks.
                              Mark
                              If everything in life were simple there would be no challenge!

                              Comment

                              Working...
                              X