Where to put code for favicon on PHPLD

Discussion in 'Directories' started by soju, Jul 14, 2007.

  1. #1
    Hi, can anyone tell me where to put the code
    <link rel="shortcut icon" href="favicon.ico" >

    for displaying a favicon in PHPLD?

    I tried it on index.php but it doesn't work.
    Also, where should I load the favicon, in the root folder, or in a template folder?
    Thanks a bunch.
     
    soju, Jul 14, 2007 IP
  2. TechEvangelist

    TechEvangelist Guest

    Messages:
    919
    Likes Received:
    140
    Best Answers:
    0
    Trophy Points:
    133
    #2
    The favicon code goes in the header.tpl template file.

    The favicon image goes in the root directory. Due to the virtual directories created for categories and subcategories, the URL to the favicon file should be fully specified. Just substitute your domain name.

    <link rel="shortcut icon" href="http://www.mydomain.com/favicon.ico" type="image/x-icon" />
     
    TechEvangelist, Jul 14, 2007 IP
    soju, Hamsap and pipes like this.
  3. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #3
    Thank you TechEvangelist, i may try this later.
     
    pipes, Jul 14, 2007 IP
  4. soju

    soju Peon

    Messages:
    2,517
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Excellent, thanks a lot TE.
     
    soju, Jul 14, 2007 IP
  5. smub

    smub Notable Member

    Messages:
    3,443
    Likes Received:
    375
    Best Answers:
    0
    Trophy Points:
    230
    #5
    i am wondering when my site shows a fav icon in firefox than why not in IE

    www.idk.in << please let me know someone

    thanks
     
    smub, Jul 14, 2007 IP
  6. soju

    soju Peon

    Messages:
    2,517
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yours shows up for me in IE.
     
    soju, Jul 14, 2007 IP
  7. SearchBuster

    SearchBuster Peon

    Messages:
    467
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Smub you may need to pull the ico out of the address bar for IE, also make sure the size is 16x16px.
     
    SearchBuster, Jul 14, 2007 IP