I recognize that Mozilla browsers have made it infinitely easier and more dynamic for using the favicons, but not everyone uses a Mozilla browser (yet :) )
In the meantime, here's a simple solution to getting your favicon up there.
Please note that the standard way of using a favicon is to just put it in your site's root folder and hope for the best, but browsers don't necessarily notice it's there.
In your
PN root folder (ie, yoursite.com/html/) upload the favicon.ico file (to make one: create a 16x 16 px file, save it as a gif and then rename it to favicon.ico - simple? simple.)
In your header.php file (ie, yoursite.com/html/header.php) find the lines:
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n<head>\n";
They should be on lines 85 - 86 (on
PN 7.50)
and replace with:
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n<head>\n<link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\" />\n ";
A Few Things:
1) This was done for
PN 7.50; there's no reason it shouldn't work on other versions as it's only
HTML code, but who knows?
2) This will keep the same favicon regardless of your theme because it's written into the header that is called by all themes.
Enjoy :)
--
the china diaries