Page 1 of 1

Fav Icon.

Posted: Wed Aug 05, 2009 6:58 pm
by OpenTS
Hello to all members of the forum.

Please has anybody idea no how to or where to place the fav icon.

Best regards and special thanks for any useful answer.

Valeriu

Re: Fav Icon.

Posted: Wed Aug 05, 2009 10:09 pm
by orionweb
modify the file: catalog/view/theme/themetitle/template/common/layout.tpl

You need to add this between the <head></head> tags:

<link rel="favicon" href="favicon.ico" type="image/icon" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />

Hope this helps.

Re: Fav Icon.

Posted: Wed Aug 05, 2009 10:10 pm
by OpenTS
Thanks a lot.

Works fine.

Re: Fav Icon.

Posted: Wed Aug 05, 2009 10:14 pm
by orionweb
would be cool to have this functionality added into the admin section somewhere, perhaps where you add your shop logo!

Re: Fav Icon.

Posted: Wed Aug 05, 2009 10:21 pm
by OpenTS
Well we can kindly ask the development team to add this function in the next release, if possible.

Re: Fav Icon.

Posted: Thu Aug 06, 2009 10:52 pm
by RaymondBeaudoin
A favicon is requested by default in OpenCart. If you do not have one, you will not notice but there is an error produced in the apache error logs:

[Sun Aug 02 10:54:32 2009] [error] [client *.*.*.*] File does not exist:
/home/jenny/www/favicon.ico

Once it is added it will immediately start to show, but if you have your site bookmarked, say on FireFox, you will need to unbookmark and rebookmark it, as FireFox keeps a cache of your bookmarks and you would not see it.

Ray

Re: Fav Icon.

Posted: Fri Aug 07, 2009 12:18 am
by OpenTS
Thank you for the info.

Best regards,

Valeriu

Re: Fav Icon.

Posted: Fri Aug 07, 2009 1:51 am
by orionweb
Ah nice, didn't know that :P