Page 1 of 1

Hide fields and fields order

Posted: Jan 04, 2018 9:54 am
by emphyrio
Hello,

I can't find the answers in the documentation...
Is there a way to:

1) Hide standard fields (not custom)? For example, in a specific project, I don't need the Profile fields (Platform, OS, OS version).
2) Reorder fields? For example, I would like one of my custom fields to be the first (above Category) in the report form.

Thank you,
Emphyrio

Re: Hide fields and fields order

Posted: Jan 04, 2018 4:35 pm
by atrol
emphyrio wrote:1) Hide standard fields (not custom)? For example, in a specific project, I don't need the Profile fields (Platform, OS, OS version).
Goto page Manage > Manage Configuration > Configuration Report
Enter the following values, after that click "Create Configuration Option"
profiles.png
profiles.png (33.83 KiB) Viewed 4516 times
emphyrio wrote:2) Reorder fields? For example, I would like one of my custom fields to be the first (above Category) in the report form
Not possible by changing configuration options. You would have to change source of Mantis or write a plugin that uses JavaScript to rearrange the page.

Re: Hide fields and fields order

Posted: Jan 04, 2018 6:23 pm
by Starbuck
atrol wrote:Not possible by changing configuration options. You would have to change source of Mantis or write a plugin that uses JavaScript to rearrange the page.
That reminds me that there is a FireFox add-on called stylish for user-side re-skinnnng of websites.
For internal sites that might be easier to use than writing a plugin.
If the stylish code is open then it would really be cool if someone were to create a MantisBT plugin with it (or just create a stylish theme and post it o their site).
HTH


EDIT: Stylish is available for Chrome, Baidu, Firefox, and Opera
This could be an alternative to a plugin or custom code for this very popular request.

Re: Hide fields and fields order

Posted: Jan 05, 2018 2:00 pm
by emphyrio
Hello Atrol,

Thank you, it worked! :D
But I now have two more questions :

- Where can I find the "Configuration option" I just created? I can't see it anywhere...
- Where can I find the correct way to name other fields/settings like "enable_profiles"?

Thank you.
Emphyrio

Re: Hide fields and fields order

Posted: Jan 07, 2018 8:03 am
by atrol

Re: Hide fields and fields order

Posted: Jan 09, 2018 9:30 am
by emphyrio
Many thanks, Atrol! :D

Re: Hide fields and fields order

Posted: Oct 09, 2019 11:18 am
by GoodFeel
atrol wrote:
Jan 04, 2018 4:35 pm
emphyrio wrote:1) Hide standard fields (not custom)? For example, in a specific project, I don't need the Profile fields (Platform, OS, OS version).
Goto page Manage > Manage Configuration > Configuration Report
Enter the following values, after that click "Create Configuration Option"
profiles.png
emphyrio wrote:2) Reorder fields? For example, I would like one of my custom fields to be the first (above Category) in the report form
Not possible by changing configuration options. You would have to change source of Mantis or write a plugin that uses JavaScript to rearrange the page.
Hi Atrol,

Your PNG file is broken. Can you please give the configuration to hide standard fields in a specific project ?

Thanks in advance.