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!
How to customize bug report and view issue report pages?
Moderators: Developer, Contributor
Re: How to customize bug report and view issue report pages?
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.atrol wrote:which verions of MantisBt do you use?
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?
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.
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?
i cant understand fully of thisTomR 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.
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
<?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?
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
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
Re: How to customize bug report and view issue report pages?
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.
Instead add the lines you need to config_inc.php.
Re: How to customize bug report and view issue report pages?
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.
$g_bug_report_page_fields = array('category_id','view_state','reproducibility','summary','description','additional_info',
'attachments','due_date');
adding in the config_inc.php.