Page 1 of 1

How to customize bug report and view issue report pages?

Posted: 05 Mar 2010, 08:35
by qatester
Hello,

I want to remove the Reproducibility field and rename Platform to Browser on the bug report and view issue details pages. Also, make Browser and OS Version into drop down lists. Has anyone done these before? Any idea how I can customize the bug report and view issue details pages?

Thanks in advance for your help!

Re: How to customize bug report and view issue report pages?

Posted: 05 Mar 2010, 22:39
by atrol
which verions of MantisBt do you use?

Re: How to customize bug report and view issue report pages?

Posted: 05 Mar 2010, 23:48
by qatester
atrol wrote:which verions of MantisBt do you use?
I'm using Mantis 1.2.0 running on Linux. I want to remove and rename these fields on bug_report_page.php, bug_update_page.php, and view.php pages.
Remove: Reproducibility, Target Version, and Steps To Reproduce
Rename: Platform --> Browser, OS Version --> Flash Version and make them into drop down list boxes

Also, is there a way to make the changes permanent so that the customization won't be over written every time a new version/patch is installed? Thanks so much for your help!

Re: How to customize bug report and view issue report pages?

Posted: 26 Mar 2010, 22:37
by TomR
Look into configuration_defaults_inc.php and put your customizations in config_inc.php.

Renaming is done with custom_strings.php.

Changing data type form standard field is not supported. Use Custom Fields instead.

Re: How to customize bug report and view issue report pages?

Posted: 21 Apr 2010, 14:57
by tetsunami
TomR wrote:ook into configuration_defaults_inc.php and put your customizations in config_inc.php.

Renaming is done with custom_strings.php.

Changing data type form standard field is not supported. Use Custom Fields instead.
i cant understand fully of this

you said go to CONFIG_DEFAULTS_INC.PHP and modify there??? so can you be more explicit

and the isue isnt the visualation in cvs excel o view .

the way i want to change is in the REPORT issue TIME i dont want the comboBox with STEPS TO REPRODUCE shows in the process



confi_inc.php only has this and when i want o make a change theres an error who sad " " somenting in this file 8O
<?php

$g_hostname = 'localhost';

$g_db_type = 'mysql';

$g_database_name = 'bugtracker';

$g_db_username = 'root';

$g_db_password = 'admin';

?>

Re: How to customize bug report and view issue report pages?

Posted: 21 Apr 2010, 15:09
by tetsunami
well for everybody who what to hide the defaults fields you have to go to the CONFIG_DEFAULT_INC.PHP and

coment

$g_bug_report_page_fields = array(
'category_id',
'view_state',
// 'handler',
// 'priority',
// 'severity',
// 'reproducibility',
// 'platform',
// 'os',
// 'os_version',
// 'product_version',
// 'product_build',
// 'target_version',
'summary',
'description',
'additional_info',
// 'steps_to_reproduce',
'attachments',
'due_date',
);

something like that for ur specification :mrgreen:

Re: How to customize bug report and view issue report pages?

Posted: 21 Apr 2010, 21:24
by atrol
You shouldn't change config_defaults_inc.php because your changes will be lost when upgrading to a newer version.
Instead add the lines you need to config_inc.php.

Re: How to customize bug report and view issue report pages?

Posted: 22 Apr 2010, 17:00
by tetsunami
u are right recently i understood what u wanted to say obviously i could understanded earlier if you put an example like

$g_bug_report_page_fields = array('category_id','view_state','reproducibility','summary','description','additional_info',
'attachments','due_date');

adding in the config_inc.php.
:roll: