[pmwiki-users] what about a favicon? I see it now

H. Fox haganfox at gmail.com
Sun Aug 14 11:29:26 CDT 2005


On 8/14/05, Daniel Scheibler <scheibi at gmail.com> wrote:
> Hello,
> 
> I have done this in a very simple way:
> 
> skin.tmpl:
> <head>
> [...]
>   <link rel='icon' href="$FavIcon" type='image/ico'>
>   <link rel='SHORTCUT ICON' href="$FavIcon">
> [..,]
> </head>
> 
> local.php:
> $FavIcon = '/my_favicon.ico';
> 
> It works perfectly.

It's also possible to do in in config.php without editing the template file.

$SiteIcon = '/my_favicon.ico';
$HTMLHeaderFmt[] = <<<EOT
\n  <link rel='icon' href='$SiteIcon' type='image/ico'>
  <link rel='SHORTCUT ICON' href='$SiteIcon'>\n
EOT;

Another option is to create or edit pub/css/local.css.

Hagan




More information about the pmwiki-users mailing list