I need to add some custom fields!

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
hazy
Posts: 15
Joined: 04 Jan 2007, 11:12

I need to add some custom fields!

Post by hazy »

Hallo

First of all: Happy New Year.

I was reading this forum a lot last time but actually I can't find needed information.

I have got two questions:

I need to add some custom fields and I would like to know how can I;


1* - Add some custom fields for a particular project

and

2* - Add some custom fields for all projects

I know that similar topics have been mentioned before but I can't get clear answer how to do it.

Do you know how can i create a separate page allowing administrator to add and/or remove custom fields for particular projects.

I'm not master of programming so I appreciate a simple answer`s (if this is possible)

Regards,
hazy
hmackiernan
Posts: 18
Joined: 17 Feb 2006, 19:23
Location: San Francisco, CA

Post by hmackiernan »

Hi Hazy:
The basic steps for adding custom fields are here:
http://mantisbt.org/manual/manual.page. ... fields.php

There is a page for doing this in Mantis already (you dont' need to add one)
Log in as an administrator and go to 'Manage > Manage Custom Fields'
at the bottom of the list of existing custom fields [if any] is a
text entry for the name of the new custom field and a button to create it
after you create the field, you get a further page where you can specify the type (text, enumeration, date, etc) and other parameters

Once you've defined the field you can associate it to any project by going to that project's page (Manage > Manage Projects)
about 2/3 the way down there's an area for custom fields where you can
add/remove previously defined custom fields from the project.

Hope that helps

-h
hazy
Posts: 15
Joined: 04 Jan 2007, 11:12

Post by hazy »

hi hmackiernan

Thank you sooooo much for your answer. It's more then sufficient.

Greetings,

hazy
Mr.J!M
Posts: 21
Joined: 11 Dec 2006, 17:43

Post by Mr.J!M »

thanks hazi!
hazy
Posts: 15
Joined: 04 Jan 2007, 11:12

Post by hazy »

Mr.J!M wrote:thanks hazi!
for what?
Mr.J!M
Posts: 21
Joined: 11 Dec 2006, 17:43

Post by Mr.J!M »

oups :roll:

-> Thx hmackiernan :oops:
clausmuus
Posts: 5
Joined: 24 Jan 2007, 08:58
Location: de
Contact:

Post by clausmuus »

Hi,

is there any way to move a custom field on a other position?
For example: I have a field 'sub version' and want to move it direct under the field 'project version'.

Claus
hmackiernan
Posts: 18
Joined: 17 Feb 2006, 19:23
Location: San Francisco, CA

Moving Custom Fields

Post by hmackiernan »

Hi clausmuus:

It depends on the page in question (sorry to be vague here) where the custom fields are put -- for example on the defect report page, they are grouped together at the bottom after the severity, reproducibility, summary, defect description etc. You could move the whole lot up higher on the page if you wanted, but it would probably be a little more involved to put a *particular* custom field in a different location. Ditto for the defect update page(s).

For the defect view page (the list of bugs with the filters) you can arrange individual custom fields (or supress them altogether) via a custom function, so you do have a little finer control there.
----------------------------------------------------------------
for the latter, check out vboctor's instructions here:
http://wiki.mantisbt.org/doku.php/manti ... ssues_page
Post Reply