News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Tiny picture in title?

Started by Toadmund, September 07, 2006, 03:21:04 PM

Previous topic - Next topic

Toadmund

Where do I go (index.templates.php maybe?) to put the little picture in the tab at the top of the page?

Alan S

Depends on what theme your using at when you say tab i assume your talking about the home , help etc.... tab.
Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Toadmund

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.

Dannii

It's called a favicon. Search Google, it really has nothing specific to do with SMF :)
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Toadmund

Will do, I did a google search on 'pic in web title tab' and variations thereof and came up with nothing.
favicon eh!?

Toadmund

#5
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
It works!!!And is animated!
Ps, my icon is 19X19 :P



bloc

I think the icon get truncated to 16x16 anyway. At least in FF it looks that way.

kL


Toadmund

Are you using IE?
Does it show up if you put it into favourites?
I use Firefox myself.

rockinaway

Nice.. just one typo

Shouldn't it be 'Welcome' not 'Welome' :D
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Toadmund

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.

kat

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

Advertisement: