Hi All,
I know this question have been ask before but with all the posting that I've read it still have not solved my issue.
custom_constant_inc.php - I added "<?php define('Need More Info', 65); ?>"
config_defaults_inc.php - I modified this string to include the new status value "$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,65:need more info,80:resolved, 90:closed';"
config_inc.php - I add this string to include the new status value "$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,65:need more info,80:resolved, 90:closed';"
custom_strings_inc.php - i created the file at mantis root directory and added this string "$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,65:need more info,80:resolved, 90:closed';"
From above changes i can see the new value in all expected, however i decided to get of the status value "confirmed" and replace it with "need more info". So i assigned "40:need more info" by updating the following:
config_defaults_inc.php - I modified this string to include the new status value "$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:need more info,50:assigned,80:resolved, 90:closed';"
config_inc.php - I add this string to include the new status value "$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:need more info,50:assigned,80:resolved, 90:closed';"
custom_strings_inc.php - i created the file at mantis root directory and added this string "$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:need more info,50:assigned,80:resolved, 90:closed';"
Now in the status dropdown menu i can still see "@65@". I did a grep from Mantis root directory and there are no instance of 65 anywhere. Please help me get rid of "@65@" from my dropdown menu.
BTW, Mantis was installed by an ex-employee so i really don't know what version it is because it is not visible on the UI. However /mantis/packages/mantis.spec shows "Version: 0.18.1".
Thanks!
Need help with customized status dropdown value
Moderators: Developer, Contributor
-
designreactor
- Posts: 1
- Joined: 11 Aug 2006, 20:28
If I understand correctly you changed the variable name and not the assigned "Text" in "\lang\strings_english.txt" or whatever language you use.
In section #Enum Strings define:
$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:need more info,50:assigned,80:resolved,90:closed';
Regards
Patrick
In section #Enum Strings define:
$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:need more info,50:assigned,80:resolved,90:closed';
Regards
Patrick