Customize Visible Page Fields

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
udo
Posts: 47
Joined: 09 Sep 2010, 11:42

Customize Visible Page Fields

Post by udo »

Hi,

From this forum entry http://www.mantisbt.org/forums/viewtopi ... 26&start=0 i learned that there are this pages
  • $g_bug_report_page_fields
  • $g_bug_update_page_fields
where the "default" displayed fields can be customized.

I was wandering if here are more pages where you can do this... Any general reference is highly appreciated. :wink:

The reason for this is because I would like to customize the View Issue Details page (the one which is displayed when you click a issue number).

Thanks, Udo
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Re: Customize Visible Page Fields

Post by istvanb »

I think you are looking for the $g_bug_view_page_fields property.

1, Open your config_defaults_inc.php
2, Copy this property to the clipboard (the whole array with all elements)
3, Copy it to your config_inc.php
4, Modify it in your config_inc.php
udo
Posts: 47
Joined: 09 Sep 2010, 11:42

Re: Customize Visible Page Fields

Post by udo »

Exactly what I looked for! Thank you very much!

What I could not interpret is the comment of the variable:

Code: Select all

        /**
         * An array of the fields to show on the bug view page.
         *
         * To overload this setting per project, then the settings must be included in the database through
         * the generic configuration form.
         *
         * @global array $g_bug_view_page_fields
         */
        $g_bug_view_page_fields = array (
                'id',
                'project',
                ...
                );
Explicitely:
To overload this setting per project, then the settings must be included in the database through the generic configuration form.

Does somebody know what this means?
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Customize Visible Page Fields

Post by atrol »

Should work the same way I described for another option
http://www.mantisbt.org/forums/viewtopi ... 621#p22849
Please use Search before posting and read the Manual
Post Reply