Hello All,
My mantis instance has about 5 projects and I am working on customizing the severity fileds for one of these projects. I am unable to get this working so my first question is ..is this possible? Below is the code in the custom_strings_inc.php that I tried to use but it only works after login. If I logout, I won't be able to view the login page again as the helper_get_current_project() I am using is probably not the one I should be using. any ideas? Thanks a lot for your help on this.
if ( lang_get_current() === 'english' ) {
if (helper_get_current_project() == '7' )
$s_severity_enum_string = '40: Low, 50:Medium,60:High';
else
$s_severity_enum_string = '40:sev 4,50:sev 3,60:sev 2,70:sev 1';
Customizing severities per project in mantis
Moderators: Developer, Contributor
-
- Posts: 4
- Joined: 29 May 2007, 19:34
- Location: Toronto - Canada
I don't think that's possible (at least not like that).
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
And the translations?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
The per project configuration (in the database) can have the statuses used in each project.
Then the localization in custom_strings_inc.php can include the union of all these statuses.
This will only work assuming that the same status code is not used for two different statuses in different projects.
Then the localization in custom_strings_inc.php can include the union of all these statuses.
This will only work assuming that the same status code is not used for two different statuses in different projects.
Migrate your MantisBT to the MantisHub Cloud