Miscellaneous
Scenario:
"I've seen sites that have a neat little icon in the address bar and in bookmarks. How can I get one of these for my site?"
Solution:
- Grab an image file you want to use as the icon for your site.
- Run it through a favicon generator, such as the one at HTML-Kit's FavIcon from Pics. Save your new favicon.ico to your disk.
- Upload your favicon to your server and place it in the directory of the skin you are using. For example, if you are using the default skin, upload your favicon to /skins/default/.
- Edit the <head> section of your skin. For example, you will need to edit the head.inc file of the default skin. Place the following code somewhere before the line with </head>:
<!-- favorite icon -->
<link rel="shortcut icon" href="<%skinfile(favicon.ico)%>" />
<link rel="icon" href="<%skinfile(favicon.ico)%>" />
- Take a look at your site to see your new favicon!
Original forum thread (thanks, NeoCon Hitman!):
http://forum.nucleuscms.org/viewtopic.php?t=12025
section: Miscellaneous | submitted by
Leng on 2006.May.06 | 3040 views

Total votes: 7 - Rating: 9.57