Custom button created from a puglin

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

Post Reply
JorG
Posts: 3
Joined: 11 Feb 2019, 15:54

Custom button created from a puglin

Post by JorG »

Hi all! : :)

I was developing my first puglin ( I'm a begginner in MantisBT) , which is able to hook( bug creation ) and extract all the info from that new bug.
The improve i was thinking of it's a bit complicated. I tried searching on the forum , web and documentation but i didn't find anything.

I would like that when the user, clicks in the view page of an specific bug, as It's shown on the screenshot , in the red box is created a new button which is able to capture all the info about the bug then throw an exception with the information captured , when it's clicked. That would be joined with my part which is able to hook an event , and extract the info from it.

Does anyone know how to accomplish that?

Thank you very much in advance :D
Attachments
ScreenshotV2.png
ScreenshotV2.png (65.93 KiB) Viewed 4048 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Custom button created from a puglin

Post by atrol »

Check Developers Guide for EVENT_MENU_ISSUE https://mantisbt.org/docs/master/en-US/ ... utput.menu

As a beginner it's certainly good to learn from existing plugins https://github.com/mantisbt-plugins
Please use Search before posting and read the Manual
Post Reply