how to change the login page icon/logo?

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
ismee
Posts: 35
Joined: 21 Mar 2010, 06:54

how to change the login page icon/logo?

Post 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???
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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
Please use Search before posting and read the Manual
smithdwsn
Posts: 3
Joined: 25 May 2010, 17:48

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

Post by smithdwsn »

Yes, this is the perfect solution. I have done it. It works well. There is no problem or error occurrence.
Herbiek
Posts: 11
Joined: 28 Nov 2018, 10:00

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

Post 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?
MantisBT version 2.18.0
Running on Ubuntu 18.04.1 LTS
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

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

Post by cas »

That is your site name, can also be adjusted via a setting in config.inc.php
Post Reply