Having trouble with adding a status
Help greatly appreciated
Created a new file custom_constant_inc.php and placed it in the main directory
File only contains:
<?php
define ( 'TO DISCUSS', 60 );
?>
I also added a line to my config_inc.php
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:to discuss,80:resolved,90:closed';
When I try to update an issue to change the status, I see @60@ in the drop down list.
HELP PLEASE!!!!
custom status issue
Moderators: Developer, Contributor
-
- Posts: 38
- Joined: 02 Apr 2009, 12:22
Re: custom status issue
Hello,
the @60@ is telling you that no translation for your new status was found. You need to create a custom_strings_inc.php and write the translation into there, e.g.:
Best regards!
Karl
the @60@ is telling you that no translation for your new status was found. You need to create a custom_strings_inc.php and write the translation into there, e.g.:
Code: Select all
<?php
if ( lang_get_current() == 'german' )
{
$s_status_enum_string = '10:neu,20:Rückmeldung,30:anerkannt,40:bestätigt,50:zugewiesen,60:in Diskussion,80:erledigt,90:geschlossen';
}
else
{
$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:to discuss,80:resolved,90:closed';
}
?>
Karl
Mantis: 1.2.1
OS: Windows Server 2003 R2
WampServer 2.0g-1 [03/12/09]
Includes :
- Apache 2.2.11
- MySQL 5.1.36
- PHP 5.2.11
OS: Windows Server 2003 R2
WampServer 2.0g-1 [03/12/09]
Includes :
- Apache 2.2.11
- MySQL 5.1.36
- PHP 5.2.11
Re: custom status issue
I have done this and it doesn't work for me. I have tried everything (well everything I can find) even the example in the Mantis Manual and it doesn't seem to work. I have version 1.1.8.
-
- Posts: 5
- Joined: 11 Jan 2011, 09:38
Re: custom status issue
Hi,
I'm facing the same problem, did you find out a solution ?
Thanks
I'm facing the same problem, did you find out a solution ?
Thanks
Re: custom status issue
Try to replace the space with underscore.
Re: custom status issue
mandaillou's issue is solved, see http://www.mantisbt.org/forums/viewtopi ... =3&t=18852