Post by andying123 » Thu Jan 23, 2020 8:32 am

Hi Support,

I am using Opencart 3.0
I want to change the favicon for the "admin" area (not the front-end favicon).
Would you mind show me the path of the admin favicon .ico locate and I can replace it.

Thanks and regards,

Newbie

Posts

Joined
Sun Nov 04, 2012 11:19 pm

Post by letxobnav » Thu Jan 23, 2020 9:08 am

front-end sets it from your configuration, back-end does not set it at all, why would it.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Thu Jan 23, 2020 9:11 am

if you want the same in admin

add this

Code: Select all

		if (is_file(DIR_IMAGE . $this->config->get('config_icon'))) {
			$this->document->addLink(HTTPS_CATALOG . 'image/' . $this->config->get('config_icon'), 'icon');
		}
just before this

Code: Select all

		$data['description'] = $this->document->getDescription();
in admin/controller/common/header.php

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by andying123 » Thu Jan 23, 2020 9:19 am

letxobnav wrote:
Thu Jan 23, 2020 9:08 am
front-end sets it from your configuration, back-end does not set it at all, why would it.
Because when I google search my website and the google result page show the opencart square favicon (I am not sure why)
I already changed my own favicon for the front-end, not sure why google still showing the opencart "square" shape favicon ( so I doubt is it because of the admin area cause the issue)

Thanks,

Newbie

Posts

Joined
Sun Nov 04, 2012 11:19 pm

Post by letxobnav » Thu Jan 23, 2020 9:56 am

well, you asked for it.
I want to change the favicon for the "admin" area (not the front-end favicon).

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Thu Jan 23, 2020 7:23 pm

andying123 wrote:
Thu Jan 23, 2020 9:19 am
Because when I google search my website and the google result page show the opencart square favicon (I am not sure why)
I already changed my own favicon for the front-end, not sure why google still showing the opencart "square" shape favicon ( so I doubt is it because of the admin area cause the issue)
When did you change it? Google will take some time to catch up ...

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: nonnedelectari and 26 guests