Page 1 of 1

How to hide Profile field

Posted: 10 Dec 2010, 11:51
by mamathak
Hi, i am using Mantis 1.2.3 and trying to hide the Profile field.
But i want to keep the Platform, OS, OS Version fields so that i can enter them manually but don't want the Select profile field.
Any help would be appreciated.
Thanks in advance.

Mamatha

Re: How to hide Profile field

Posted: 10 Dec 2010, 12:33
by atrol
http://www.mantisbt.org/forums/viewtopi ... 619&p=3912
Please use search functionality of the forum

Re: How to hide Profile field

Posted: 10 Dec 2010, 12:46
by mamathak
Sorry, i have seen that topic before. But in that, its completely disabling the profile field. But i want to use the Platform, OS fields but don't actually want to select the profile from the drop down list. So, is it possible to hide the select profile but keep the platform and OS sub fields??

Re: How to hide Profile field

Posted: 10 Dec 2010, 15:02
by atrol
There is no way by standard customization to get this.
You would have to change the source code of MantisBT.

You could also use three custom fields.

Why do you want this behaviour?

Re: How to hide Profile field

Posted: 11 Dec 2010, 18:08
by mamathak
Thanks. My colleagues thought it would be easy to enter the profile manually in which case the select profile field is an extra field which won't be used at all. I have tried hiding the profile field completely and adding two custom fields for OS, platform. But the only problem with that was, all the custom fields are situated at the bottom of the page. Is there a way to move the custom fields to the place where i want or at least to the top??
Thanks for your quick reply.

Re: How to hide Profile field

Posted: 11 Dec 2010, 19:58
by atrol
mamathak wrote:Is there a way to move the custom fields to the place where i want or at least to the top??
have a look at http://www.mantisbt.org/bugs/view.php?id=11385 for this
To be honest, I don't think it's a good idea.
You will loose the functionality to use preconfigured global profiles, you will also loose the functionality of profiles which every use can preconfigure for himself.
You will get typos like for example "Windos" "windows" "Windosw", ...... (of course this is also possible with the current implementation when not using preconfigured profiles)

Re: How to hide Profile field

Posted: 13 Dec 2010, 10:19
by mamathak
Thank you so much. Considering your suggestion, i am going to leave it as it is.

Thanks,
Mamatha.