Page 1 of 1

how to change the login page icon/logo?

Posted: Mar 23, 2010 7:59 am
by ismee
i want to change the logo displau

i tried this
rename mantis_logo.gif, and put my new image with the mantis_logo.gif name
C:\Program Files\EasyPHP5.2.10\www\mantisbt-1.2.0\images

then i open html_api.php at C:\Program Files\EasyPHP5.2.10\www\mantisbt-1.2.0\core
edit line 447 and insert image name

function html_top_banner() {
$t_page = config_get( 'top_include_page' );
$t_logo_image = config_get( 'mantis_logo.gif' );
$t_logo_url = config_get( 'logo_url' );

but it couldn't display
APPLICATION WARNING #100: Configuration option "mantis_logo.gif" not found.

where should i put my new image???

Re: how to change the login page icon/logo?

Posted: Mar 23, 2010 3:39 pm
by atrol
Don't change html_api.php for this!
Just add the following new line to file config_inc.php
$g_logo_image = 'images/my_logo.gif';
and copy your logo to images/my_logo.gif or even better create an own directory for all your customizations and change the path

Re: how to change the login page icon/logo?

Posted: May 26, 2010 1:03 pm
by smithdwsn
Yes, this is the perfect solution. I have done it. It works well. There is no problem or error occurrence.

Re: how to change the login page icon/logo?

Posted: Dec 19, 2018 10:01 am
by Herbiek
At https://www.mantisbt.org/bugs/view.php?id=23126&nbn=7 about the similar is described.
I've performed this action (on the latest version of MantisBT) and do see our logo at the login screen.

But I like to change the White on Black logo stating MantisBT (or is that only text?) that is in the upper left corner also into our own logo.
Where can I change this setting?

Re: how to change the login page icon/logo?

Posted: Jan 02, 2019 6:26 am
by cas
That is your site name, can also be adjusted via a setting in config.inc.php