Deleting # of statusus/sevitiry etc
Moderators: Developer, Contributor
Deleting # of statusus/sevitiry etc
Mantis works great !! But for me it has too many options. For example, I dont need about 7 sevitity statuses, only 4 or 5. But when I delete them in the config file (config_inc.php) and the language file (strings_english.txt) It gives something like @70@ as an option. How can I delete them? Same for other drop down listst like priority. I've tried it all, but it doesn't seem to work :( HELP!!
Is there a reason why you want to re-number them? Everything should work if you revert back to the original state, then just override the enum in the config_inc.php to drop the ones that you don't need.
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/
-
willick
I had the same problem with removing items from the severity string in mantis Mantis 1.0.0rc1
Any of the mantis developers know how to fix this so I don't have to change the mantis code?
I changed my severity string in my custom_strings_inc to:
$s_severity_enum_string = '20:trivial,50:minor,60:major,70:crash';
Any of the mantis developers know how to fix this so I don't have to change the mantis code?
I changed my severity string in my custom_strings_inc to:
$s_severity_enum_string = '20:trivial,50:minor,60:major,70:crash';
When you change an enum you need to change the $g_ and $s_ for it. For example,
In config_inc.php:
$g_severity_enum_string = '20:trivial,50:minor,60:major,70:crash';
In custom_strings_inc.php
$s_severity_enum_string = '20:trivial,50:minor,60:major,70:crash';
The $g_* is the one used to control the code logic, and the $s_* is used to localise the names of the enum names.
Regards,
Victor
Mantis Blog
http://www.futureware.biz/
In config_inc.php:
$g_severity_enum_string = '20:trivial,50:minor,60:major,70:crash';
In custom_strings_inc.php
$s_severity_enum_string = '20:trivial,50:minor,60:major,70:crash';
The $g_* is the one used to control the code logic, and the $s_* is used to localise the names of the enum names.
Regards,
Victor
Mantis Blog
http://www.futureware.biz/