View Issue Details

IDProjectCategoryView StatusLast Update
0007130mantisbtcustomizationpublic2008-04-19 04:10
ReporterchillaxAssigned Tojreese  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version1.0.3 
Fixed in Version1.2.0a1 
Summary0007130: Unbranding Mantis
Description

For deployment into a corporate environment, it may be necessary to mask any mention of Mantis outside of the source file headers. Here are the diff files to do so for 1.0.3 (It should be approximately the same for older versions, you may just have to do some hunting for the line to edit as the line numbers will probably not match up)

You will need to edit mantis_offline.php.sample to hardcode in your custom branding, and I suggest renaming the file to offline.php.bak until you need to disable Mantis.

Additional Information

You will also need to add the following to your config_inc.php file. This allows these global variables to be back-added to the config_defaults_inc.php file in a future release of Mantis.

TIP: I keep a list of any custom edited files in my config_inc.php file so that when I upgrade to a new release I can make sure to preserve my modifications.

CUSTOM GLOBAL VARIABLES TO UNBRAND MANTIS

$g_application_homepage = 'http://your.domain.com/'; //e.g. http://bugs.mantisbt.org
$g_application_title = 'Your Company Name Bug Tracker'; //e.g. Mantis Bug Tracker
$g_application_logo = 'images/your_logo.jpg'; //This is the header logo, rename and point to the correct location
$g_company_name = 'Company Name'; //e.g. Mantis
$g_company_homepage = 'http://www.domain.com/'; //e.g. http://www.mantisbt.org
$g_powered_by_logo = 'images/powered_by.gif'; //This is the footer logo, rename and point to the correct location

EDITED FILES TO REFERENCE CUSTOM GLOBAL VARIABLES FROM ABOVE:

./core.php

./core/html_api.php

./core/php_api.php

./lang/strings_english.txt

TagsNo tags attached.
Attached Files
unbranding_mantis.zip (2,730 bytes)

Relationships

related to 0007158 closedgiallu Change Mantis top logo link to internal link 
related to 0008799 closedjreese Top logo (mantis_logo.gif) and URL it points to shall be configurable 

Activities

Borszczuk

Borszczuk

2008-01-23 20:24

reporter   ~0016781

See the patch for 0008799

jreese

jreese

2008-01-27 21:16

reporter   ~0016857

Changes has been committed to 1.2.x development trunk.

Related Changesets

MantisBT: master 6b4572fa

2008-01-27 21:14

jreese


Details Diff
Added branding configuration options to Mantis per bug 0007130 and 0008799

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4930 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0007130
mod - core/html_api.php Diff File
mod - config_defaults_inc.php Diff File