Update Drop-Down Menu on Bottom of View Issues Page

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
sdye
Posts: 19
Joined: 27 Jul 2010, 19:12

Update Drop-Down Menu on Bottom of View Issues Page

Post by sdye »

I have version 1.2.2.

I renamed the Resolve status to Verified. Everything has been updated except for this drop-down menu next to the Select All checkbox.

It still has Resolved in the list and says that the status is invalid (which is true). Could you please tell me where to find this drop-down menu in the php files so I can update it?

Thanks!
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Update Drop-Down Menu on Bottom of View Issues Page

Post by atrol »

You should have created file custom_strings_inc.php if you renamed the status the recommended way.
Change there also the string $s_actiongroup_menu_resolve to your needs
Please use Search before posting and read the Manual
sdye
Posts: 19
Joined: 27 Jul 2010, 19:12

Re: Update Drop-Down Menu on Bottom of View Issues Page

Post by sdye »

I added the string $s_actiongroup_menu_verified = 'Verified'; to custom_strings_inc. and I also added this string to the lang\english.txt.

Maybe I should have mentioned that I completely replace the Resolved status. I added the strings above and removed the $s_actiongroup_menu_resolve = 'resolve'; string but the only thing in the menu list is a blank spot where this string once was. It is not registering my new string.

Update: actually all I want to do is get rid of the Resolve menu item from the list and get rid of the empty space that appears when I remove the $s_actiongroup_menu_resolve = 'resolve'; string. I realized that this is really what I want to do instead of going into everything and changing everything that says "resolved".

THanks again!
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Update Drop-Down Menu on Bottom of View Issues Page

Post by atrol »

There is no configuration for this, so you have to change the source code.

open file core/print_api.php
search for "actiongroup_menu_resolve"
comment the line by adding # at the first column (should be line 980 if you are using version 1.2.4)

Be aware that your changes will be lost when updating MantisBT.
So you have to change this file every time you update MantisBT
Please use Search before posting and read the Manual
sdye
Posts: 19
Joined: 27 Jul 2010, 19:12

Re: Update Drop-Down Menu on Bottom of View Issues Page

Post by sdye »

Got it! Thanks so much!
Post Reply