Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

Favicon

Summary: Add a Favicon to your website
Version: Any
Prerequisites: Requires modification of skin template
Status: Mature
Maintainer:
Categories: Layout
Discussion: Favicon-Talk

Questions answered by this recipe

How do I add a Favicon to my PmWiki?

Adding a Favicon to PmWiki.

Add the following lines to the pmwiki.tmpl template between the <head> and </head> lines. The template can be found in the /pub/skins/yourskin/ directory

<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

Alternatively, you can use $HTMLHeaderFmt to place these statements in config.php instead of editing the templates.

Create a favicon.ico from a graphic. To create a Favicon from an graphic or picture try http://htmlkit.com/services/favicon/ .

Place the favicon.ico to the base directory of your website (often /public_html/).

If you wish to place your Favicon in another directory change the href= in the lines above to href="/pathto/favicon.ico" and place the Favicon in that directory.


See Also

Contributors

Simon

User notes: If you use, used or reviewed this recipe, you can add your name. The following format is recognized:
* (+) Optional positive comment. Name, date
* (-) Optional negative comment. Name, date

These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on February 01, 2010, at 02:11 PM