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
Hide fields and fields order
Moderators: Developer, Contributor
Re: Hide fields and fields order
Goto page Manage > Manage Configuration > Configuration Reportemphyrio wrote:1) Hide standard fields (not custom)? For example, in a specific project, I don't need the Profile fields (Platform, OS, OS version).
Enter the following values, after that click "Create Configuration Option"
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.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
Re: Hide fields and fields order
That reminds me that there is a FireFox add-on called stylish for user-side re-skinnnng of websites.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.
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
Hello Atrol,
Thank you, it worked!
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
Thank you, it worked!
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
Many thanks, Atrol!
Re: Hide fields and fields order
Hi Atrol,atrol wrote: ↑04 Jan 2018, 21:35Goto page Manage > Manage Configuration > Configuration Reportemphyrio wrote:1) Hide standard fields (not custom)? For example, in a specific project, I don't need the Profile fields (Platform, OS, OS version).
Enter the following values, after that click "Create Configuration Option"
profiles.pngNot possible by changing configuration options. You would have to change source of Mantis or write a plugin that uses JavaScript to rearrange the page.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
Your PNG file is broken. Can you please give the configuration to hide standard fields in a specific project ?
Thanks in advance.