Event to add a button to event actions in the bug view page

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

Post Reply
libregeek
Posts: 12
Joined: 27 Jun 2007, 11:48

Event to add a button to event actions in the bug view page

Post by libregeek »

I'm working on a plugin which needs a button on the bug view page. I tried EVENT_VIEW_BUG_DETAILS and EVENT_MENU_ISSUE, but both add the button to an isolated area and it doesn't align with the existing buttons.

Is there any event which can insert a button next to the buttons (delete, edit, etc..) on the bug view page? Please see the attached screenshot.
Screenshot-2018-3-15.png
Screenshot-2018-3-15.png (16.46 KiB) Viewed 3609 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Event to add a button to event actions in the bug view page

Post by atrol »

There is no event for it at the moment, but you could write a custom function custom_function_override_print_bug_view_page_custom_buttons
https://www.mantisbt.org/docs/master/en ... cs.defined
Please use Search before posting and read the Manual
Post Reply