Page 1 of 1
View Issue: Add Product Version in List
Posted: 07 Mar 2006, 11:02
by Guest
Hello,
I would like to have the
Product Version in the list of Issues. Is there a configuration setting to add this column?
Mantis 1.0.1
Thanks
Alfonso
http://www.calcula.de
http://www.klavitomat.de
Adding "Product Version" to the "View Issues&
Posted: 18 Mar 2006, 14:43
by leblancma
Hello Alfonso,
To add a column for the "Product Version" to the "View Issues" page, you need to add a custom function.
A. Create a new file in your Mantis folder and call it "custom_functions_inc.php"
B. In this file you should add a function called
"function custom_function_override_get_columns_to_view()"
C. Copy from file "custom_function_api.php" the code for
"function custom_function_default_get_columns_to_view(...)"
D. In the else part if the if statement that says
if ( $p_columns_target == COLUMNS_TARGET_CSV_PAGE )
you need to add a line like
$t_columns[] = 'version';
Place this line in the spot where you wish the new column to appear.
I think that's all you need to do. Let us know if this worked.
Regards,
Maurice