News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[FREE] symbol in front of site name

Started by Auke, July 15, 2014, 04:20:12 PM

Previous topic - Next topic

Auke

Hello all,

In front of the names of websites there is a place for a small symbol (in case of SMF forum something that looks like a seesaw). Could somebody here please tell me how to put a symbol in that place?

Thanks in advance,

Auke


Auke

Thank you. So it's called a favicon.

What I see is that I have to edit /Themes/default/index.template.php as follows:

Find <head> then add after:

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


I got no clue how to do this... Where do I find this /Themes/default/~ ?

Sorry, I'm a newbie... ::)

Auke

Illori

usually you dont need to do that. just upload the file to the main folder of your forum and your browser should pick it up automatically.

Auke

I'm pretty sure there are some elephants in the room which I'm overlooking, but...
- where do I find this file?
- where do I find the 'main folder' of my forum?

Depending on what I see when I find file and folder I also might need some assistance on how to do the uploading.

Auke

Kindred

You have to create the file yourself

You upload it to whatever directory your forum is installed to on your site.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Auke

Ah, okay, thank you.

That's bound to go wrong with me. I'll leave it for sometime in the future.

Auke

Kindred

There are many sites which will convert any normal image that you want to try into an ico for favicon usage
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor



Auke

Right. I just used the link provided by BurkeKnight to create my own favicon which I saved over the seesaw favicon. Thank you for the help so far. What should I do next?

Auke

Burke ♞ Knight

As long as it is uploaded to the root of the site, it should work automatically.
However, it may not show for a little while to you, as you been so much on the site.
Try to open the site in a different browser, one that not used for the site, and you should see it right away on that one.

Auke

Well, I got the favicon on my laptop but the server on which my site is hosted is somewhere else. Shouldn't I somehow put the favicon on the server?

I use FireFox to work as an Admin on my website while I got a testaccount working from IE. I just opened the site on my otherwise unused Safari, but I don't see my favicon there.

Please advise.

Auke

Kindred

Yes. It needs to go on your server...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Auke

Ah, nice. I made a correct conclusion. Let's party! ::)

How should I proceed to get the favicon on the server? Could you advice me?

Kindred

FTP is the best choice.., your cpanel file manager probably would work as well.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

I'd prefer SFTP if it's available but most hosts aren't using the secure version yet. (Which is a shame, since FTP can go die in a fire, well, anytime)

Auke

I haven't seen the term SFTP anywhere, so I suppose that's probably not available. Regarding FTP and cPanel, I know the terms by now, but am still at a loss as what they do / what I can do with them. It's probably explained somewhere, but there's just so much I have to learn all of a sudden.

I tried to upload the favicon with the package manager, but it didn't accept the .ico extension. Could you please explain how I upload the file with FTP?

Arantor


Auke

Thank you '?!'

I read the link, installed an FTP client and then made my own favicon disappear while trying to upload it, made a new favicon, tried to upload it again but probably failed (nothing to indicate that I succeeded). Grmbl.



mashby

Favicons can take some time to appear. Typically what I've done in the past is upload the favicon.ico file (to the web root of your server), then go view it directly in the browser. And then go back to the site where a real page would be and do Control F5. Happy dance may or may not ensue after that.
Always be a little kinder than necessary.
- James M. Barrie

Auke

Yes, that's what I understood: be patient. However, nothing indicated that I actually uploaded something. I just pushed a bunch of buttons which seemed to do nothing. Viewing on another browser also showed nothing positive.

Auke

Trying again. I'm using SmartFTP. I got the favicon in the transfer queue, but nothing happens except for numerous automatic retries (about 1 every 30 seconds). I'm not even sure these are retries in uploading... Seems to me that something is wrong.

Deaks

does your hosting have cpanel?

If so you could use file manager.
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Auke

Quote from: Μπράιαν on July 16, 2014, 11:12:51 AM
does your hosting have cpanel?

If so you could use file manager.

Yes, cPanel is available and I have just opened it. I also found File manager under the heading Files. I think I found how I can upload the favicon file to cPanel, but I'm not sure where I should put it. Could you advise me on that?

Kindred

in the root directory of your forum...  in other words, in the same place that index.php and SSI.php are sitting.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Auke

I uploaded the file, it did not ask for a place it had to go, so maybe that was an unnecessary question.

Nothing changed that I can see in my other browser, but maybe I got to change some things: when I go the the upload page, there are 4 lines and 3 columns. The colums are 'User', 'Group' and 'World', the lines are 'Read', 'Write', 'Execute' and 'Permission'. In the first line everything is checked, in the second line only 'User' is checked, in the third line nothing is checked and in the last line I see the numbers 6, 4 and 4. Do I need to change something here?

Thanks again,

Auke

Kindred

no... 644 is fine.

And it may take up to a few DAYS for the icon to clear in your cache and get reloaded
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Auke

Okay, thank you. I thought maybe I had to check 'Execute' or something. I will leave this for now and start working on other things of my website. This weekend I will either mark this topic as solved or ask for additonal help.

Thanks again all!  :)

Mstcool

Quote from: BurkeKnight on July 15, 2014, 08:42:55 PM
As long as it is uploaded to the root of the site, it should work automatically.
However, it may not show for a little while to you, as you been so much on the site.
Try to open the site in a different browser, one that not used for the site, and you should see it right away on that one.

You could've suggested your own mod as well you know. ;)

Here is a mod that he made and will make your life easy: http://custom.simplemachines.org/mods/index.php?mod=1510

:p

Auke

Okay, nothing happened, so it probably didn't work. What do you guys advise now? Trying the mod that Mstcool linked to? I don't need an extra area under the menu though.

mashby

You really don't need a mod! I'm curious as to what tools you are using and where you might or might not be uploading your favicon.ico file. So, let's start there. Do you have a properly formatted ico file? :)
Always be a little kinder than necessary.
- James M. Barrie

Auke

Yes, I made a favicon with the link BurkeKnight provided.

It's named favicon.ico and In my files it has taken the place of the default seesaw favicon.

mashby

OK...and are you using File Manager or FTP to upload said file to the web root of your site? How did you install SMF? :)
Always be a little kinder than necessary.
- James M. Barrie

Auke

Good question... ehhh... give me a minute to try to remember.

Edit 1:
I'm hosted with CoreISP. The cPanel there has a SMF logo which I clicked. To remember what was next I would have to click it again. Not sure if that is wise...

Edit 2:
I think I tried this favicon thingy with File Manager.

Mstcool

Where did you upload it? What file is what I mean.

And if you use that mod, you dont have to have the extra area under the menu, just use the favicon feature. :p

Auke

Ok, I installed the mod you mentioned and now I see my favicon in the top left of my screen before the page indication. Not yet before the URL, but I understand form the previous posts here that it may take some days before this happens.

Thanks Mstcool for the tip and thanks BurkeKnight for making the mod! :)


Auke

Quote from: Kindred on July 16, 2014, 02:09:58 PM
And it may take up to a few DAYS for the icon to clear in your cache and get reloaded

My favicon is now in front of the URL when I open in IE. In FireFox it is visible on the tabs but not in front of the URL. And in Safari it is nowhere tot be seen. Am I correct to assume the appearance of the favicon is not only dependent of 'to clear in my cache' (whatever that means) but also of the whims of the various browsers?

Kindred

yes. firefox does not add it in the URL bar... only in the tab list
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Auke


Advertisement: