Page 1 of 1

see author names in "View Issues" list

Posted: 18 Aug 2005, 07:19
by eightn
Can I turn on feature to see author name of issues in "Viewing Issues" listing?

Posted: 26 Aug 2005, 10:29
by kmet

Posted: 29 Aug 2005, 01:07
by vboctor
Checkout the following post on my blog:

Customising View Issues, Print Issues and CSV Export
http://www.futureware.biz/blog/index.ph ... &tb=1&pb=1

Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/

Posted: 20 Sep 2005, 07:49
by eightn
Thanks!
This is simple :)

1. Create custom_functions_inc.php file in the root directory.

2. Place to this file function "function custom_function_default_get_columns_to_view" from file core/custom_function_api.php

3. rename function custom_function_default_get_columns_to_view to function custom_function_override_get_columns_to_view

4. add code

$t_columns[] = 'reporter_id';

before "$t_columns[] = 'category';" line

Getting an error when I try this (Mantis 1.0.0rc2)

Posted: 20 Sep 2005, 08:16
by owen
I am using Mantis 1.0.0rc2

After I add this modification, I am able to login but all I get is this:

SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /home/owen/public_html/mantis/custom_functions_inc.php:44)


Note: when I first installed my modification, I was still logged in and I refreshed view_all_bug_page.php. The new column was visible, as expected, but I got the same error message displayed above the normal output.

Posted: 20 Sep 2005, 08:19
by owen
NEVERMIND. Stupid whitespace after the php closing tag. Problem solved.