integrate an image at the top left of the title

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
pdelcot
Posts: 16
Joined: Sep 13, 2013 3:40 am

integrate an image at the top left of the title

Post by pdelcot » May 03, 2019 3:10 am

Hello, how to integrate a small image at the top left of the title (Mantis BT), and which is visible on all pages.
thank you

cas
Posts: 660
Joined: Mar 11, 2006 11:08 am
Contact:

Re: integrate an image at the top left of the title

Post by cas » May 07, 2019 5:08 am

You can adjust the setting for the mantis logo ( and the link):
$g_logo_image = 'images/mantis_logo.png';
$g_logo_url = '%default_home_page%';
Please make changes in config/config_inc.php

pdelcot
Posts: 16
Joined: Sep 13, 2013 3:40 am

Re: integrate an image at the top left of the title

Post by pdelcot » May 07, 2019 5:31 am

Thank you for your reply.
But it does not work. In the tag: $ g_logo_url, should the full link to mantis, for example: www.mysiteweb/mantis/view_all_bug_page.php '?

cas
Posts: 660
Joined: Mar 11, 2006 11:08 am
Contact:

Re: integrate an image at the top left of the title

Post by cas » May 08, 2019 4:26 am

You can set the link to any address you prefer, that is the good news :D
So what exactly does not work?

pdelcot
Posts: 16
Joined: Sep 13, 2013 3:40 am

Re: integrate an image at the top left of the title

Post by pdelcot » May 09, 2019 5:58 am

Hello,

I followed your recommendations; I added in the file config.php the following 2 lines:
$ g_logo_image = 'images / mantis_logo.png';
$ g_logo_url = 'http://www.myprojets.com/mantisv2_test/ ... g_page.php';

but the image does not appear in the left-hand corner, instead of the title: Mantis Bt
view the photo
Attachments
2019-05-09_125618.jpg
2019-05-09_125618.jpg (38.92 KiB) Viewed 884 times

atrol
Site Admin
Posts: 7677
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: integrate an image at the top left of the title

Post by atrol » May 09, 2019 3:58 pm

Please use Search before posting and read the Manual

Post Reply