Page 1 of 1

Change color of state

Posted: 23 Sep 2024, 11:46
by cevastiko
Hello,

I work on Mantis version: 2.26.3

I have a few own state defined.
The workflow is working fine, but I want to have customized colos as well.
I alredy tried:
$g_status_colors['mi'] = '#FF6347';

But what I am doing wrong? The color is not set in Mantis.


Thanks in Advance

Re: Change color of state

Posted: 23 Sep 2024, 13:39
by cas
Did you check the admin guide on this?

Re: Change color of state

Posted: 23 Sep 2024, 14:59
by cevastiko
yes, but thise steps are not working.
This is why I am asking

Re: Change color of state

Posted: 23 Sep 2024, 16:20
by cas
Just do not do a simple refresh of the page but minimum CTRL+F5
That works for me :mrgreen:

Re: Change color of state

Posted: 02 Oct 2024, 10:43
by cevastiko
even reloading it in another browser is not working.

it simply ignores my configuration with:

$g_status_colors['mi'] = '#FF6347';

or also like this:

$g_status_colors = array(
'mi' => '#FF6347'
);

both is not working.

Re: Change color of state

Posted: 02 Oct 2024, 12:18
by cas
I assume you do see the statusses in Mantis itself I assume? And you made that setting in config/config_inc.php ( that is where it needs to be)?
For me it works perefectly

Re: Change color of state

Posted: 02 Oct 2024, 13:22
by cevastiko
exactly. But not change of color......
this is why I am asking here

Re: Change color of state

Posted: 02 Oct 2024, 14:13
by cas
Can you post the config of your statusse in config_inc,php & custom_strings_inc.php