17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 6103 Views |
-
problem with favicon.ico

1 October 2008 at 11:45am
hi everybody
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
rube -
Re: problem with favicon.ico

1 October 2008 at 12:11pm
Try this:
1) Upload the favicon.ico file to the root directory: /favicon.ico.
2) Then apply ?flush=1 to your url: http://www.mysite.com/?flush=1
or Delete your browsers cache -
Re: problem with favicon.ico

1 October 2008 at 2:45pm Last edited: 1 October 2008 2:47pm
hi grilldan.
first thank you,
I did www.mysite.com/?flush=1 on my page, and still can not get my icon appears
that may be failing?
or can I delete the cache?rube.
again I feel sorry for my English -
Re: problem with favicon.ico

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
Refresh
If you still can't see it. You need to check that your favicon is valid.
Aaron
-
Re: problem with favicon.ico

1 October 2008 at 5:59pm
I make my icons 72x72 and save them in png24 format, then use http://www.convertico.com/.
-
Re: problem with favicon.ico

2 October 2008 at 2:37am
thanks for all the helpI managed to appear as the icon
rube.
-
Re: problem with favicon.ico

2 October 2008 at 11:50am Last edited: 2 October 2008 11:51am
again hello
I saw that it works perfectly in Firefox, but IE does not have the favicon.ico
which will be the problem?thanks
Rube
I feel sorry for my bad English -
Re: problem with favicon.ico

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.
| 6103 Views | ||
| Go to Top | Next > |



