17488 Posts in 4473 Topics by 1978 members
Page: 1 2
|Go to End||Next >|
1 October 2008 at 11:45am
i have a problem with favicon.ico.
I've made a 16*16 icon and I named it favicon.ico and I've replaced it in my server's root.
I know I have to use this line code:
<link rel="shortcut icon" href="http://www.mysite.com/favicon.ico" type="image/x-icon">
but I dont know where exactly I should put it , or in wich file?
because the file mysite\code home.php does not exist <head>
I hope it can help me
I feel sorry for my English
1 October 2008 at 4:25pm Last edited: 1 October 2008 4:26pm
<link rel="shortcut icon" href="/favicon.ico" />
Should go at the top of your template SS file (e.g. Page.ss or HomePage.ss)
Replace the standard Silverstripe icon with your own in the root directory.
Clear browser cache
If you still can't see it. You need to check that your favicon is valid.
2 October 2008 at 2:37am
thanks for all the help
I managed to appear as the icon
2 October 2008 at 11:50am Last edited: 2 October 2008 11:51am
I saw that it works perfectly in Firefox, but IE does not have the favicon.ico
which will be the problem?
I feel sorry for my bad English
4 October 2008 at 12:24pm
Internet Explorer will only read correctly formatted icon libraries with the extension of .ico
The software icoFX can do this for you, but having a real icon does limit you somewhat, and it doesn't support transparency.
Personally I don't care about IE users when it comes to the favicon, since over half the visitors to my site are FF users - and having a transparent icon means more to me than the few IE users.
Hope that helps.
Page: 1 2
|Go to Top||Next >|