how would you add a...
 
Notifications
Clear all

how would you add a favicon?

2 Posts
2 Users
0 Reactions
1,378 Views
(@fanfictionworld)
Posts: 149
Estimable Member
Topic starter
 

I've just been reading about favicons which are little icons that appear in the browsers address bar next to a site address and I was wondering how you would add one to your efiction site

I've been reading some stuff for one I've made but im a bit puzzled where to put the coding for the .ico file in the indexfile

the stuff i've read is below basically im not sure where to add it in to the efiction files

favicon.ico  --  The favicon file (supports both 16*16 and 32*32 dimensions).

    You can add a favicon to your web page by uploading favicon.ico to your
    website and inserting the following HTML tag inside the <head> ... </head>
    section of your web page.

      <link rel="shortcut icon" href=""favicon.ico"" > <--which file would you insert this to and where? (im thinking index.php but index.php doesnt have a head section cos of the php!)

also maybe this would be a feature that some sites would like so maybe I could suggest it as a possible future feature too


~Spikey~

my site url: http://www.fanfictionworld.org
efic version:3.5.3

 
Posted : 14/05/2007 3:28 pm
(@hobert)
Posts: 61
Trusted Member
 

Chris posted a mod here:

https://efiction.org/forums/index.php?topic=5710.0

*or*, to not have to modify your core files each time they update eFiction, I used an extra_header.php file in my skin and stuck the favicon.ico in the skin "images" folder.  (Using 3.3.1)

<?php

echo "<link rel="shortcut icon" type="image/ico" href=""$skindir/images/favicon.ico"" />";

?>

πŸ˜€ God, I love this program!!!


efiction - 3.5.3
MySql - 5.5.32
php - 5.5.22
Linex - Apache 2.2.17
Hosted by: Fatcow!
http://www.hobert.net/fic/

 
Posted : 23/10/2007 11:49 am
Share: