Page 1 of 1
Redirecting to Advanced Bug Report Page?
Posted: 13 Jun 2006, 03:15
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.
Posted: 13 Jun 2006, 13:04
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.
Posted: 13 Jun 2006, 15:21
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.
Posted: 13 Jun 2006, 15:33
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...
Posted: 13 Jun 2006, 16:16
by mickey
OK, Got it. Thank you..