Problem with pririty customization

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
szymon

Problem with pririty customization

Post by szymon »

Hello!

I wanted to customize priority with entirely new priorities and i have problem.
I added a constant in custom_constant_inc.php
define ('OTHER', 70);
I changed var: g_pririty_enum_string in file: config_inc.php
$g_priority_enum_string = '10:none,20:low,...,60:immidiate,70:other';
and i added to var. $s_priority_enum_string '70:other' in custom_string_inc.php file and my priority list in buHello!

I wanted to customize priority with entirely new priorities and i have problem.
I added a constant in custom_constant_inc.php
define ('OTHER', 70);
I changed var: g_pririty_enum_string in file: config_inc.php
$g_priority_enum_string = '10:none,20:low,...,60:immidiate,70:other';
and i added to var. $s_priority_enum_string '70:other' in custom_string_inc.php file and my priority list in bug report page is another position named @70@. What should I do?
I saw that in core.php there is no require_once for custom_string_inc.php but when I added this nothing changed.

I use Mantis 1.0.0rc1
Please answer if anybody knows what is wrong in my code...
Regardsg report page is another position named @70@. What should I do?
I saw that in core.php there is no require_once for custom_string_inc.php but when I added this nothing changed.

I use Mantis 1.0.0rc1
Please answer if anybody knows what is wrong in my code...
Regards
MTW
Posts: 13
Joined: 02 Sep 2005, 08:44
Contact:

priority customization

Post by MTW »

have you placed your custom_constant_inc.php and custom_strings_inc.php in your main mantis directory? (not in core or lang dirs)

I have done something similar to add a new datatype and it works for me, I'm using rc2

byez
MTW
Slala

Thx

Post by Slala »

Thx

I had an error in configuration wrong path in $g_absolute_path and everything else was ok ;-)!

Slala
Post Reply