Customize "description" field

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
SchaefT
Posts: 1
Joined: 05 Dec 2017, 09:53

Customize "description" field

Post by SchaefT »

Hi to everybody in this forum!

Maybe someone has an Idea to solve the following problem.

I want to change the name of the mandatory field "summary" on a per project base.

for example:
in Project 1 the field is (standard) called "summary"
in Project 2 the field is (customized) called "XXYYYZZ"

Any idea, or any chance to realise this?
rkarmann
Posts: 66
Joined: 24 Nov 2017, 10:00
Location: Lille, France

Re: Customize "description" field

Post by rkarmann »

Hi,

It's possible to define a custom name for the 'summary' field by overriding the translation in custom_strings.php (e. g. : $s_summary = 'custom_name';).
--> See chapter 7.1 in : https://www.mantisbt.org/docs/master/en ... omize.html

But if you want to do it on a per project basis, I don't think that such a configuration already exists. I would have built a plugin using JQuery : managing the field name by retrieving the 'project name' in the dropdown list.

If you need any help with Plugin Structure's, see : http://www.mantisbt.org/docs/master/en- ... ev.plugins

Good luck :P
Currently working on a wiki-based plugin for MantisBT 2.X. If you'd like to test it, contact me or see the plugin section.
Post Reply