Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Favicon.ico  (Read 3146 times)

0 Members and 1 Guest are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Favicon.ico
« on: February 20, 2014, 06:34:05 AM »
Changed our Favicon.ico file to this one.


Favicon.ico as defined in the SMF Online Manual:
Quote
A favicon is the little image that is shown in a browser's bookmarks, address bar or tabs when displaying pages from a particular site. The default favicon is the favicon.ico file and one is supplied with the SMF installation.

To change which image is used edit /Themes/default/index.template.php as follows:

Find <head> then add after:

echo ' <link rel="shortcut icon" href="favicon.ico" />';

Most modern browsers will pickup that you have a favicon if it is placed on your site or forum root [main directory] without any code edits given that the file is named correctly "favicon.ico"

Most modern browsers have image caching enabled by default, this could make the favicon.ico not show up in your browser until the cache is refreshed, this could take hours or days depending on the browser settings. Waiting a while for the image to show is a good idea before assuming that it did not work as it is not shown as soon as it is uploaded.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Re: Favicon.ico
« Reply #1 on: February 20, 2014, 06:40:28 AM »
Arggg!  knuppel

The index.template.php in each theme must be edited  to make the Favicon.ico display in that theme.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9424
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Favicon.ico
« Reply #2 on: February 20, 2014, 08:42:18 AM »
It is simply a copy and paste job.

Offline Lesmond

Re: Favicon.ico
« Reply #3 on: February 20, 2014, 12:33:05 PM »
You dont need to edit any files for the favicon, just place the file in the forum root it must be saved has an .ico file i.e. favicon.ico

I also found that the .ico files dont have to be resized, they can be any size and will still show in your browser :bigteeth1:

:Edit: Its working :thumbup:
« Last Edit: February 20, 2014, 12:44:37 PM by Lesmond »

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Re: Favicon.ico
« Reply #4 on: February 20, 2014, 12:52:33 PM »
Sorry, but it's not working in themes that didn't get the edits yet Les. :-\
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond

Re: Favicon.ico
« Reply #5 on: February 20, 2014, 02:21:06 PM »
umm ok try putting favicon in each theme folder

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Re: Favicon.ico
« Reply #6 on: February 20, 2014, 04:33:24 PM »
OK, I'll give that a try.

TBH... it's not really that big of a deal to do the edits, it's only for one file in each theme and one small block of code.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.