Modifying LOVs

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
anshulmadaan
Posts: 5
Joined: 26 Mar 2008, 05:53

Modifying LOVs

Post 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.
dialexia
Posts: 28
Joined: 26 Mar 2008, 21:03

Re: Modifying LOVs

Post by dialexia »

I'm interested in knowing too :)
Phillip
anshulmadaan
Posts: 5
Joined: 26 Mar 2008, 05:53

Re: Modifying LOVs

Post by anshulmadaan »

OK, if it is impossible to explain here, just let me know if it IS POSSIBLE or NOT :?:
smig1o
Posts: 39
Joined: 30 Nov 2006, 12:26
Location: Poznan - PL
Contact:

Re: Modifying LOVs

Post 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...
'Press any key to continue or any other key to quit'
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Modifying LOVs

Post 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.
Migrate your MantisBT to the MantisHub Cloud
Mon1018
Posts: 6
Joined: 10 May 2008, 16:11
Contact:

Re: Modifying LOVs

Post by Mon1018 »

Sweet. I'm looking forward to this...It sounds interesting.
Post Reply