Page 1 of 1
Favicon for both Store Front and Administration area
Posted: Wed Aug 03, 2011 3:53 pm
by Rabbitdigital
Hi All,
Does anyone know how to get the same favicon used on the Store Front to show up for the Administration area too?
The flower favicon here
http://www.flowershopputney.co.uk doesn't show in the admin area!
So in other words I would like the same Favicon currently showing for the Store Front so also show when I'm on the Administration area too, it just looks better and more uniform and helps to quickly find them both when bookmarked in my browser.
Cheers
Warren
(Cheshire UK)
Re: Favicon for both Store Front and Administration area
Posted: Wed Aug 03, 2011 4:24 pm
by uksitebuilder
open: admin/view/template/common/header.tpl
somewhere before the closing </head> tag, paste the following:
<link href="
http://www.flowershopputney.co.uk/image ... avicon.png" rel="icon" />
Re: Favicon for both Store Front and Administration area
Posted: Wed Aug 03, 2011 4:34 pm
by Rabbitdigital
Fantastic, thats great thanks for the fast reply Simon
All done and works perfectly!
Cheers
Warren

Re: Favicon for both Store Front and Administration area
Posted: Wed Aug 03, 2011 5:09 pm
by webpie it.
Thanks for this UKSB, had to add https:// to mine as it runs in ssl.
Cheers
Re: Favicon for both Store Front and Administration area
Posted: Wed Aug 22, 2012 1:08 am
by tobychin
I know this is quite old, but since OC uses a base URL, you could add "<link href="image/data/favicon.png" rel="icon" /> instead. Then, whatever the base URL is (http or https) it will use the correct URL.
Re: Favicon for both Store Front and Administration area
Posted: Fri Mar 28, 2014 1:56 am
by nuski
Thanks, it worked

Re: Favicon for both Store Front and Administration area
Posted: Wed Nov 25, 2015 7:59 am
by donmck
Hi all, I know this is an old thread, but hopefully the same thing applies to V2.x opencarts.
Unfortunately, I placed the new code before the </header> tag, and not the </head> tag. I then commented it out with a // comment. After re-reading this thread I finally placed it in the correct spot as:
<link href="image/catalog/dt.png" rel="icon" />
</head>
<body>
which in my case equates to:
https://www.shop-dontronics.com/image/catalog/dt.ico
However after editing the header.tpl several times, I have ended up with
" // just after the opencart logo at the head of my admin page.
I have cleared cache of opencart and my browser, but still getting the extra characters, yet it doesn't seem to affect any admin operations. Restoring the original header.tpl doesn't fix the problem. Any ideas?
Test site at:
https://www.shop-dontronics.com
Thanks in advance,
Cheers Don...
Re: Favicon for both Store Front and Administration area
Posted: Fri Nov 27, 2015 12:33 pm
by donmck
Felt I should reply to my own question, as I seem to have solved my problem.
Installed a new extension, and the above problem cleared.
So I have my new favicon in my admin area, and all is well.
Cheers Don...