Change to custon logo
Moderators: Developer, Contributor
Change to custon logo
Hi,
I would like to change the logo for the big "M" with colors (that I prefer) but when I change the mantis_logo.gif it does not fit great.
I look for the name mantis_logo.gif but I didn't find out. Could someone tell me how to solve this problem ?
Regards
Ezequias
I would like to change the logo for the big "M" with colors (that I prefer) but when I change the mantis_logo.gif it does not fit great.
I look for the name mantis_logo.gif but I didn't find out. Could someone tell me how to solve this problem ?
Regards
Ezequias
Re: Change to custon logo
Could you tell me how you did this ?
My desired logo is attached.
My desired logo is attached.
- Attachments
-
- mantis_logo.gif (5.26 KiB) Viewed 15783 times
Re: Change to custon logo
original file:
I change redirect to my homepage http://www.mantisbt.org
and logo src="images/mantis_logo.gif"
Code: Select all
echo '<div align="', $t_align, '">';
echo '<a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img border="0" width="242" height="102" alt="Mantis Bugtracker" src="images/mantis_logo.gif" /></a>';
echo '</div>';
and logo src="images/mantis_logo.gif"
Re: Change to custon logo
for you may be better replace original logo-file in folder images.
Re: Change to custon logo
I already report that the logo is is streched.
See how it is displayed on mantis.
See how it is displayed on mantis.
- Attachments
-
- stretchImage.PNG (85.97 KiB) Viewed 15753 times
Re: Change to custon logo
change thil line
<img border="0" width="242" height="102" alt="Mantis Bugtracker" src="images/mantis_logo.gif" />
width and height with your size
<img border="0" width="242" height="102" alt="Mantis Bugtracker" src="images/mantis_logo.gif" />
width and height with your size
Re: Change to custon logo
Thank you again but I didn't find html tags on php files.
Could you tell me wich file we can find this html tags ?
Sorry my ignorance about php.
Regards
Ezequias
Could you tell me wich file we can find this html tags ?
Sorry my ignorance about php.
Regards
Ezequias
Re: Change to custon logo
You must open core\html_api.php
line 305
echo '<a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img border="0" width="242" height="102" alt="Mantis Bugtracker" src="images/mantis_logo.gif" /></a>';
line 305
echo '<a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img border="0" width="242" height="102" alt="Mantis Bugtracker" src="images/mantis_logo.gif" /></a>';
Re: Change to custon logo
Perfect,
At least I could finish the logo. Thank you so much.
Sincerely
Ezequias Rodrigues da Rocha
At least I could finish the logo. Thank you so much.
Sincerely
Ezequias Rodrigues da Rocha
Re: Change to custon logo
will it be possible to change the logo by config?
(I know how to change the code in THIS version of mantis, but will this be a feature in future versions?)
Jens
(I know how to change the code in THIS version of mantis, but will this be a feature in future versions?)
Jens
Arbeit, die man liegen ließ, war nie vergeblich
Re: Change to custon logo
This is now possible in the 1.2.x branch:
http://www.mantisbt.org/bugs/view.php?id=8799
http://www.mantisbt.org/bugs/view.php?id=8799
Migrate your MantisBT to the MantisHub Cloud