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: Mar 21, 2010 1:54 am

how to change the login page icon/logo?

Post by ismee » Mar 23, 2010 7:59 am

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: 7647
Joined: Mar 26, 2008 4:37 pm
Location: Germany

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

Post by atrol » Mar 23, 2010 3:39 pm

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: May 25, 2010 12:48 pm

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

Post by smithdwsn » May 26, 2010 1:03 pm

Yes, this is the perfect solution. I have done it. It works well. There is no problem or error occurrence.

Herbiek
Posts: 11
Joined: Nov 28, 2018 5:00 am

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

Post by Herbiek » Dec 19, 2018 10:01 am

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: 544
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Jan 02, 2019 6:26 am

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

Post Reply