Re: Help with Favicon
Originally Posted by
zevink
<link rel="shortcut icon" href="http://www.thewishplace.com/store/favicon.ico">
But I would like someone to verify this.
Your on the right track.. just need to add the 'type' to the ending. Here the three basic ways different browsers see a shortcut icon. For IE see's it one way and firefox finds it another.... I used all three on my page to cover as many browsers as I can. Also, using a gif has other uses, such as the firefox search engine.
<link rel="icon" href="includes/templates/YOURFOLDER/images/icons/icon.gif" type="image/gif" />
<link rel="shortcut icon" href="includes/templates/YOURFOLDER/images/icons/icon.gif" type="image/gif" />
<link rel="shortcut icon" href="includes/templates/YOURFOLDER/images/icons/icon.ico" type="image/x-icon" />
The code for above in 'html_header.php'
Code:
<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON2; ?>" type="image/gif" />
<link rel="shortcut icon" href="<?php echo FAVICON2; ?>" type="image/gif" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>
You can set the path to your icons in 'includes/languages/english/YOURFOLDER/meta_tags.php'
Firefox pickup the icon so it is working for it..
Dave
Always forward thinking... Lost my mind!
Bookmarks