How to customize bug report and view issue report pages?

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
qatester
Posts: 21
Joined: 05 Mar 2010, 06:39

How to customize bug report and view issue report pages?

Post 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!
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

which verions of MantisBt do you use?
Please use Search before posting and read the Manual
qatester
Posts: 21
Joined: 05 Mar 2010, 06:39

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

Post 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!
TomR
Posts: 55
Joined: 01 Aug 2006, 10:22

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

Post 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.
tetsunami
Posts: 26
Joined: 21 Apr 2010, 14:45

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

Post 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';

?>
tetsunami
Posts: 26
Joined: 21 Apr 2010, 14:45

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

Post 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:
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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.
Please use Search before posting and read the Manual
tetsunami
Posts: 26
Joined: 21 Apr 2010, 14:45

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

Post 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:
Post Reply