Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 04:13:48 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155543 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: adding favicon  (Read 487 times)
rritz

Offline Offline

Posts: 10


« on: April 02, 2011, 05:28:09 PM »

Hi,

how can I add a favicon to my site?
I found an older post that suggested adding

<head>
  <link rel="Shortcut Icon" type="image/x-icon" href="<?php echo TEMPLATE_DIR; >/bilder/favicon.ico" />
</head>

to the index.php of my theme, but this only results in blank pages

looking for help
Logged
fischstäbchenbrenner

Offline Offline

Posts: 271



« Reply #1 on: April 03, 2011, 08:35:03 AM »

You should place the favicon in the root of your domain.
/favicon.ico
Logged

Burn, baby, burn!
rritz

Offline Offline

Posts: 10


« Reply #2 on: April 07, 2011, 09:49:46 PM »

then I get blank page with
Parse error: syntax error, unexpected '>' in /var/www/virtual/xxx.at/htdocs/index.php on line 113
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #3 on: April 08, 2011, 11:47:02 AM »

syntax error, i.e. missing question mark::

Code:
<link rel="Shortcut Icon" type="image/x-icon" href="<?php echo TEMPLATE_DIR?>/img/favicon.ico" />

Then place the favicon.ico in the img folder of your template.

Note that favicons arte special images (not or png or jpg or sth), you can generate a favicon f. ex. here

BR
-instantflorian.
Logged
comfort

Offline Offline

Posts: 48


« Reply #4 on: April 11, 2011, 08:53:13 AM »

http://www.favicon.cc/ is great to!  afro
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!