Plugin Development 1.2.3: add another button to bugnotes

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
dandjo
Posts: 14
Joined: 15 Oct 2010, 12:50

Plugin Development 1.2.3: add another button to bugnotes

Post by dandjo »

Hi friends,

I'd like to add another button to the bugnotes like "Edit", "Delete" and "Make Private". I'v tried to hook the EVENT_BUGNOTE_ADD event, but i cannot get the idea. Can anyone give me an example how to add a button near the other buttons?
Thanks!

Kind regards,
dandjo
atrol
Site Admin
Posts: 8567
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Plugin Development 1.2.3: add another button to bugnotes

Post by atrol »

I didn't try, but I think that EVENT_VIEW_BUGNOTE is the right one.
Please use Search before posting and read the Manual
dandjo
Posts: 14
Joined: 15 Oct 2010, 12:50

Re: Plugin Development 1.2.3: add another button to bugnotes

Post by dandjo »

Thanks, I will try. And how do I add a button? Simply printing the html-Code, or is there a special structure I should use? Are there any examples?
atrol
Site Admin
Posts: 8567
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Plugin Development 1.2.3: add another button to bugnotes

Post by atrol »

Have a look ar bugnote_view_inc.php and calls of function print_button
Please use Search before posting and read the Manual
dandjo
Posts: 14
Joined: 15 Oct 2010, 12:50

Re: Plugin Development 1.2.3: add another button to bugnotes

Post by dandjo »

Thannks, I got the idea!
Kirill
Posts: 640
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Plugin Development 1.2.3: add another button to bugnotes

Post by Kirill »

dandjo wrote:Thanks, I will try. And how do I add a button? Simply printing the html-Code, or is there a special structure I should use? Are there any examples?
Look at Product Matrix.
Post Reply