Page 1 of 1

I need to add some custom fields!

Posted: 04 Jan 2007, 11:38
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

Posted: 04 Jan 2007, 21:25
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

Posted: 05 Jan 2007, 14:40
by hazy
hi hmackiernan

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

Greetings,

hazy

Posted: 05 Jan 2007, 22:48
by Mr.J!M
thanks hazi!

Posted: 08 Jan 2007, 14:08
by hazy
Mr.J!M wrote:thanks hazi!
for what?

Posted: 08 Jan 2007, 20:37
by Mr.J!M
oups :roll:

-> Thx hmackiernan :oops:

Posted: 24 Jan 2007, 09:08
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

Moving Custom Fields

Posted: 26 Jan 2007, 20:06
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