Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Toadmund on September 07, 2006, 03:21:04 PM

Title: Tiny picture in title?
Post by: Toadmund on September 07, 2006, 03:21:04 PM
Where do I go (index.templates.php maybe?) to put the little picture in the tab at the top of the page?
Title: Re: Tiny picture in title?
Post by: Alan S on September 07, 2006, 05:10:51 PM
Depends on what theme your using at when you say tab i assume your talking about the home , help etc.... tab.
Title: Re: Tiny picture in title?
Post by: Toadmund on September 08, 2006, 12:11:05 AM
No, like the tabs you get with firefox, for tabbed browsing, where it contains the title of a web page with  the small pic on the left side, not sure what you get with IE.
It's the tiny picture about the size of a smilie.
Title: Re: Tiny picture in title?
Post by: Dannii on September 08, 2006, 12:17:34 AM
It's called a favicon. Search Google, it really has nothing specific to do with SMF :)
Title: Re: Tiny picture in title?
Post by: Toadmund on September 08, 2006, 12:26:59 AM
Will do, I did a google search on 'pic in web title tab' and variations thereof and came up with nothing.
favicon eh!?
Title: Re: Tiny picture in title?
Post by: Toadmund on September 08, 2006, 02:25:25 AM
Well after trying this trying that I finally figured it out, someone's info on this site said:
Use this line here between the <head>(s) above the <title></title><LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico"> just above this in index.template.php: <title>', $context['page_title'], '</title>';


So I struggled with that, why the #$^@$ won't this work, then I searched the web, and Wiki said this:
QuoteIn this way, any appropriately sized (16×16 pixels or larger) image can be used, and although many still use the .ico format, other browsers now also support the animated GIF and PNG image formats.
So I did this:
<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.gif">
and voila!!!
www.reversedisorder.com/forum (http://www.reversedisorder.com/forum)
It works!!!And is animated!
Ps, my icon is 19X19 :P


Title: Re: Tiny picture in title?
Post by: bloc on September 08, 2006, 10:54:17 AM
I think the icon get truncated to 16x16 anyway. At least in FF it looks that way.
Title: Re: Tiny picture in title?
Post by: kL on September 09, 2006, 04:00:12 PM
i see no icon sorry  :(
Title: Re: Tiny picture in title?
Post by: Toadmund on September 10, 2006, 10:19:32 PM
Are you using IE?
Does it show up if you put it into favourites?
I use Firefox myself.
Title: Re: Tiny picture in title?
Post by: rockinaway on September 11, 2006, 12:39:50 PM
Nice.. just one typo

Shouldn't it be 'Welcome' not 'Welome' :D
Title: Re: Tiny picture in title?
Post by: Toadmund on November 10, 2006, 12:55:23 PM
Well, I can welome all the folks I want who come to my forum  >:(
;D
Heh, I noticed that, well, I have something different now.
Title: Re: Tiny picture in title?
Post by: kat on November 12, 2006, 02:47:15 PM
It's very easy, actually. Just make the icon you want to use (16x16) and save it in icon format(.ico) to public_html with the name "favicon.ico".

Sorted. :D