Modifying Mantis Look and Feel

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
dorecchio
Posts: 1
Joined: 20 Feb 2008, 23:32

Modifying Mantis Look and Feel

Post by dorecchio »

I would like advice regarding modifying the Mantis look and feel so it can be customer visable with our company logo etc. Is there a good reference site that describes how to do this? Are there any PHP pages that can be added or accessed on the site that enable simple user look and feel changes?

I am looking for a process similar to what is used to modify WordPress which is also a PHP application.

Thanks for your help.

Dave
leblancma
Posts: 37
Joined: 09 Jan 2006, 15:22
Location: Canada
Contact:

Re: Modifying Mantis Look and Feel

Post by leblancma »

Check out the section entitled "Include files" in config_defaults_inc.php.

Here is a suggested step-by-step process to follow. Tailor the code to match your company logo size and color as appropriate.

A. Copy your company masthead file (masthead-blank.jpg) into the images subdirectory

B. Create the following HTML page and save it as company_header.php

Code: Select all

<html>
  <head>
    <title>Company Mantis Bug Tracking</title>
  </head>

<body topmargin="0" leftmargin="0">
<table border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td bgcolor="#FFF0D7" width = 1200> <img src="images/masthead-blank.jpg" height="120" width="749" border="0"></td></tr>
</table></body></html>
C. Add the following code to file config_inc.php

Code: Select all

    ###########################
    # Include files
    ###########################

    # Specify your top/bottom include file (logos, banners, etc)
    # if a top file is supplied, the default Mantis logo at the top will be hidden
        $g_top_include_page = '%absolute_path%/company_header.php';

Regards,

Maurice
Post Reply