View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013236 | mantisbt | plug-ins | public | 2011-08-15 08:54 | 2014-12-08 00:33 |
Reporter | ray81 | Assigned To | dregad | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.6 | ||||
Target Version | 1.3.0-beta.1 | Fixed in Version | 1.3.0-beta.1 | ||
Summary | 0013236: add event to print attachment | ||||
Description | I'm currently developing an attachment plugin, so that attachments can have an added view (like a player for music files). For example (player on next line): or (added link on the same line): Could a PRINT_ATTACHMENT event be added? | ||||
Additional Information | I added the event_signal at the end of the else of if ( !$t_attachment['exists'] ) of the function print_bug_attachments_list in /core/print_api.php. Currently on line 1769 Wow that sounds difficult. Here's an example: | ||||
Tags | No tags attached. | ||||
Thank you for the report and suggested fix. Would you consider submitting pull requests for this functionality? This would greatly increase the speed of including these changes in MantisBT. Ideally you would submit pull requests for both the master and master-1.2.x branches at https://github.com/mantisbt/mantisbt . |
|
I haven't done anything in GIT yet, but if i will, i'll add a patch. |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master 3eb0430b 2012-09-21 03:27 Details Diff |
Fix 0013236: Added event 'EVENT_VIEW_BUG_ATTACHMENT' Allows printing HTML code after each attachment. Moved the event definition with other bug-related events. |
Affected Issues 0013236 |
|
mod - core/events_inc.php | Diff File | ||
mod - core/print_api.php | Diff File | ||
mod - docbook/Developers_Guide/en-US/Events_Reference_Output.xml | Diff File |