Page 1 of 1

Configuration to not show certain elements

Posted: 15 Nov 2017, 15:22
by benjaminrc78
Hi.
I install the new v2.8 and I don´t see how can to not show certain elements.
In report issues I don´t want to show
- Select Profile
- Steps To Reproduce
- Additional Information
- Attach Tags

The Severity want to have 2 (normal, urgent)
The Priority want to have 2 (normal, urgent)

Also, I know if is posible that users can not change (except the admin), chage email, password, not show the tabs Preferences, Manage columns, Profiles and API Tokens.

I try to see the wiki and Administrator guide, change the config_inc, but cant do the above.

A lot of thanks for any help.

Re: Configuration to not show certain elements

Posted: 14 Dec 2017, 10:36
by rkarmann
Hi there,
benjaminrc78 wrote: In report issues I don´t want to show
- Select Profile
- Steps To Reproduce
- Additional Information
- Attach Tags
To disable the following items, add the following lines to your config_inc.php (in mantis-root/config/) :

Code: Select all

# To disable profiles:
$g_enable_profiles = OFF;
# To disable Steps-to-reproduce, additional informations and tags:
$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',
);
Comment/uncomment any lines that you don't want to appear in your bug_report_page (same for view_page_fields : $g_bug_view_page_fields = ... )

Re: Configuration to not show certain elements

Posted: 14 Dec 2017, 11:44
by benjaminrc78
Thanks !!

Re: Configuration to not show certain elements

Posted: 14 Dec 2017, 12:16
by rkarmann
For the severity and priority enumeration, add the following :

in config_inc.php:

Code: Select all

$g_severity_enum_string = '30:medium,40:high';

$g_priority_enum_string = '30:medium,40:high';