Page 1 of 1

Modifying LOVs

Posted: 27 Mar 2008, 11:50
by anshulmadaan
How can I modify , delete LOVs of fields like severity, status etc.Can someone guide me to a manual or a link
if the solution is already posted.

Re: Modifying LOVs

Posted: 27 Mar 2008, 13:22
by dialexia
I'm interested in knowing too :)

Re: Modifying LOVs

Posted: 28 Mar 2008, 06:34
by anshulmadaan
OK, if it is impossible to explain here, just let me know if it IS POSSIBLE or NOT :?:

Re: Modifying LOVs

Posted: 28 Mar 2008, 08:35
by smig1o
If LOV means List of Values then its easy...

Open config_defaults_inc.php and search for

$g_severity_enum_string.

Copy it to config_inc.php and modify it as you wish:

$g_severity_enum_string = '10:feature, 15:my_new_value, 20:trivial, etc';

then go to your language file in lang/ directory
and search for
$s_severity_enum_sting and update it too.

thats all the magic...

Re: Modifying LOVs

Posted: 02 Apr 2008, 02:41
by vboctor
You don't need to edit language files if you are only removing entries. If you are adding entries, then you should update the custom strings file rather than modifying the distributed language files, otherwise, your updates will be overwritten with the next upgrade. See the manual for more information.

Re: Modifying LOVs

Posted: 10 May 2008, 16:33
by Mon1018
Sweet. I'm looking forward to this...It sounds interesting.