Page 1 of 1
Plugin Development 1.2.3: add another button to bugnotes
Posted: 15 Oct 2010, 13:01
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
Re: Plugin Development 1.2.3: add another button to bugnotes
Posted: 16 Oct 2010, 14:37
by atrol
I didn't try, but I think that EVENT_VIEW_BUGNOTE is the right one.
Re: Plugin Development 1.2.3: add another button to bugnotes
Posted: 16 Oct 2010, 16:43
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?
Re: Plugin Development 1.2.3: add another button to bugnotes
Posted: 17 Oct 2010, 20:08
by atrol
Have a look ar bugnote_view_inc.php and calls of function print_button
Re: Plugin Development 1.2.3: add another button to bugnotes
Posted: 18 Oct 2010, 18:32
by dandjo
Thannks, I got the idea!
Re: Plugin Development 1.2.3: add another button to bugnotes
Posted: 19 Oct 2010, 05:49
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.