Redirecting to Advanced Bug Report Page?

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
mickey
Posts: 22
Joined: 06 Apr 2006, 05:04
Location: Cleveland, OH

Redirecting to Advanced Bug Report Page?

Post by mickey »

How do i directly bring up bug_report_advanced_page.php soon after I select a project and click Select Project button while reporting an issue (from Report_Issue top menu)? I want to bypass bug_report_page.php (simple report) since advanced report is more useful for my project.

Also, I was looking if there is an option already setting which will bring up only bug_report_advanced_page by default?

Please help.

Thank you.
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Under 'My Account', 'Preferences', there is an 'Advanced Report' tickbox: by ticking this, your account should default to advanced reporting (as opposed to simple).

If you want new accounts to have this ticked by default, set:
$g_default_advanced_report = ON;

in your config_inc.php file.

If you want advanced reporting only (that is to say, no simple reporting at all), set:

$g_show_report = ADVANCED_ONLY;

in your config_inc.php file.

Note that there are corresponding settings for viewing and updating that you probably want to set, too.

Hope this helps,
Lincoln.
mickey
Posts: 22
Joined: 06 Apr 2006, 05:04
Location: Cleveland, OH

Post by mickey »

Thanks a lot Narcissus. Your inputs are very helpful.

I tried using all the options you have suggested.
When I select Advanced Report under ‘My Account’, and click on Report Issues menu, it takes me directly to Advanced Report. It works fine.
Setting $g_show_report=ADVANCED_ONLY in config_inc.php also works perfectly.

But setting $g_default_advanced_report=ON doesn’t seem to work for me. Has this got to do with any additional view settings which you have mentioned?

Once again thanks a lot.
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

$g_default_advanced_report will only work for new accounts created since setting that flag.

In theory, at least! For any new account, Mantis looks at that flag to decide what value to use for the tickbox that you ticked in the account management screen. If that value is set to ON, then in theory a new account should have that tickbox ticked as its default...
mickey
Posts: 22
Joined: 06 Apr 2006, 05:04
Location: Cleveland, OH

Post by mickey »

OK, Got it. Thank you..
Post Reply