Page 1 of 1
How to customize status
Posted: 19 Dec 2008, 12:11
by carlota
Hy,
I'm trying to add the value 'in_study' in the list of status values.
In config_inc.php I change the list g_status_enum_string and add 60:in_study. In the same file add the g_status_enum_workflow[in_study].
In the moment that I use mantis, and try to change the status in the list of values I see @60@, not the value "in_study"
I use Spanish language, but i didn't change anything in string_spanish.txt
Can somebody help me whit this problem?
I use the Mantis 1.1.4 version
Thanks and best regards
Carlota
Re: How to customize status
Posted: 29 Dec 2008, 14:10
by jb_mantis
Re: How to customize status
Posted: 30 Dec 2008, 09:00
by carlota
Thanks, I will do it
Re: How to customize status
Posted: 05 May 2009, 15:32
by trludewig
Hi.
I too am seeing @60@ as my new "to be tested" status on the Manage Workflow Transitions page and in the Status drop down list. I followed the instructions at
http://manual.mantisbt.org/manual.custo ... values.php
and I am using version 1.1.7, which is supposedly the latest stable release. Thus, I assume I do not need to mess with the lang/strings_english.txt or the core/constant_inc.php.
I have tried restarting Apache. Any ideas? Thanks very much.
Re: How to customize status
Posted: 12 May 2009, 16:23
by peterus
Hi,
Have you created a file called custom_constant_inc.php containing
<?php
#define ( 'in_study', 60 );
?>
Regards,
Peter
Re: How to customize status
Posted: 12 Nov 2009, 18:15
by mzenns
I'm seeing @60@ as well, and cannot move an issue into or out of that status, according to the Workflow Transitions. How do I fix this? [Later Edit]: I did actually get this working, sort of. Now when I try to change an issue to the newly created status, the change page says there's no title and the button at the bottom has no label. What file(s) are these in?
Re: How to customize status
Posted: 19 Nov 2009, 06:58
by squarebox
i:m not sure how it is for your version but in 1.2.0rc2 you add a new file in teh root directory of mantis called "custom_strings_inc.php" and you need to set the following for everything to appear alright
#Rename acknowledge status to QA
$s_status_enum_string = '10:new,20:feedback,30:in QA,40:confirmed,50:assigned,80:resolved,90:closed';
$s_email_notification_title_for_status_bug_acknowledged = 'This ticket is in QA';
$s_acknowledged_bug_title = 'in QA bug';
$s_acknowledged_bug_button = 'in QA bug';
where "acknowledge" in the variable name refers to the name used in Define( ACKKNOWLEDGED, '30'), so in this case "acknowledged"
Re: How to customize status
Posted: 10 Feb 2010, 02:22
by scaixeta
I founf the problem to @60@:
I file config_inc.php I found in code:
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:In Progress, 80:resolved,90:closed,100:cancelled,110:in test,120:waiting build';
"60:In Progress" is not available in file custom_strings_inc.php.
Put or delete this status and your Mantis status work like a charm....
Re: How to customize status
Posted: 10 Feb 2010, 08:30
by atrol
scaixeta wrote:I founf the problem to @60@:
I file config_inc.php I found in code:
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:In Progress, 80:resolved,90:closed,100:cancelled,110:in test,120:waiting build';
"60:In Progress" is not available in file custom_strings_inc.php.
Put or delete this status and your Mantis status work like a charm....
Confusing post for me
Standard config_inc.php does not contain any configuration of $g_status_enum_string
So you added this status by yourself because you want it.
If you want to have status "60:In Progress" and have problems with it, your problem is not solved by removing it