Change color of state

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
cevastiko
Posts: 9
Joined: 20 Sep 2024, 11:07

Change color of state

Post 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
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Change color of state

Post by cas »

Did you check the admin guide on this?
cevastiko
Posts: 9
Joined: 20 Sep 2024, 11:07

Re: Change color of state

Post by cevastiko »

yes, but thise steps are not working.
This is why I am asking
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Change color of state

Post by cas »

Just do not do a simple refresh of the page but minimum CTRL+F5
That works for me :mrgreen:
cevastiko
Posts: 9
Joined: 20 Sep 2024, 11:07

Re: Change color of state

Post 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.
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Change color of state

Post 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
cevastiko
Posts: 9
Joined: 20 Sep 2024, 11:07

Re: Change color of state

Post by cevastiko »

exactly. But not change of color......
this is why I am asking here
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Change color of state

Post by cas »

Can you post the config of your statusse in config_inc,php & custom_strings_inc.php
Post Reply