View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0004305 | mantisbt | change log | public | 2004-08-11 03:08 | 2008-07-31 17:39 | 
| Reporter | jwolfgarten | Assigned To | giallu | ||
| Priority | normal | Severity | feature | Reproducibility | always | 
| Status | closed | Resolution | no change required | ||
| Summary | 0004305: Make changelog configurable | ||||
| Description | So that I can configure, if 
 is shown. Moreover it would be nice, if there is another view of the changelog: ID:       [Category] | ||||
| Tags | No tags attached. | ||||
| This can already be done by overriding the custom function that determines the format for the changlog entries. To do that create custom_functions_inc.php in the mantis main directory and implement the following: 
 Note that you get the issue id as a parameter, hence, you can retrieve any related information and echo it in the required format. Let me know if this covers what you need. | |
| Thank you, I will test it as soon as possible. Maybe you could make it configurable via a dropdown like the filters... That way you can choose between different views. | |
| The drop down will specify which format to use, however, you will still need to override these to output the entries based on the selected format. | |
| I tried it, but the following error appeared: function custom_function_override_changelog_print_issue( $p_issue_id ) { $t_bug = bug_get( $p_issue_id ); echo '- ', string_process_bug_link( '#' . $p_issue_id ), ': [', $t_bug->category, '] ', string_display( $t_bug->summary ), ' (', user_get_name( $t_bug->handler_id ), ')'; } SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /share/htdocs/mantis/custom_functions_inc.php:5) SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /share/htdocs/mantis/custom_functions_inc.php:5) SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /share/htdocs/mantis/custom_functions_inc.php:5) SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /share/htdocs/mantis/custom_functions_inc.php:5) | |
| Thr custom_functions_inc file is a php file. It needs a "<?php" at the beginning and "?>" at the end. | |
| Sorry, some kind of sleeping today :-) Ok, that works fine. Do you think it´s possible to dropdown it like the filters? | |
| Since this is on the topic of improving the Changelog, I think this is somewhat related to http://bugs.mantisbt.org/bug_view_page.php?bug_id=0004218 edited on: 08-11-04 07:02 | |
| A csv export of the change log would be great. Fields being ID, Catagory, Description, User 
 | |
| I'm marking this as resolved/no change required because the required function is present in the code. For help about how to customize the function, please refer to: | |
