[pmwiki-users] How to put a favourite icon in a PmWiki site

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 5 07:52:40 CST 2005


On Mon, Dec 05, 2005 at 09:51:06AM -0000, César Toscano wrote:
> Can anyone tell me how to put a favourite icon in a PmWiki powered site, so 
> that the icon appears in the browser's URL window ?

The traditional mechanism for this is to create an icon file
named "favicon.ico" and place it in the root of the server's 
document tree.  This will affect all pages on the site.

The other way of doing this is to add a <link> tag to the output:

    <link rel='SHORTCUT ICON' href='...url...' />

This can be done in PmWiki by modifying the skin, or by adding the
following line to local/config.php:

    $HTMLHeaderFmt['shortcut'] = 
      "<link rel='SHORTCUT ICON' href='...url...' />";

Replace "...url..." with the url to the icon you want to use for
the shortcut.  

For more details, try searching the web for "favicon".

Pm




More information about the pmwiki-users mailing list