How to customize status

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
carlota
Posts: 2
Joined: 19 Dec 2008, 11:57

How to customize status

Post 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
jb_mantis
Posts: 63
Joined: 14 Oct 2008, 12:41
Location: Columbus, Ohio, USA

Re: How to customize status

Post by jb_mantis »

-Joe
Mantis Version: 1.1.2
Disclaimer: Answers are based on the Mantis version above and may be inaccurate for newer/older versions which may have different configuration options and/or functionality.
carlota
Posts: 2
Joined: 19 Dec 2008, 11:57

Re: How to customize status

Post by carlota »

Thanks, I will do it
trludewig
Posts: 1
Joined: 05 May 2009, 15:12

Re: How to customize status

Post 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.
peterus
Posts: 5
Joined: 12 May 2009, 16:20

Re: How to customize status

Post by peterus »

Hi,
Have you created a file called custom_constant_inc.php containing

<?php
#define ( 'in_study', 60 );
?>

Regards,
Peter
mzenns
Posts: 11
Joined: 23 Jan 2009, 20:03
Location: N. Central PA

Re: How to customize status

Post 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?
Mike Zenns
Mantis Administrator
v. 1.0.8
Ubuntu 8.04 server
squarebox
Posts: 12
Joined: 19 Nov 2009, 06:51

Re: How to customize status

Post 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"
scaixeta
Posts: 1
Joined: 10 Feb 2010, 02:16

Re: How to customize status

Post 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....
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to customize status

Post 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
Please use Search before posting and read the Manual
Post Reply