Event for extension

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
TJK
Registered User
Posts: 72
Joined: Sat Dec 26, 2015 9:10 pm
Name: Tolaso J Kos
Contact:

Event for extension

Post by TJK » Mon Feb 05, 2018 11:01 am

Hi,

I going to write a pretty simple extension for my phpbb board ( version 3.2.2 or higher ) . What I would like that to do is actually add a button next to the posting buttons found at the bottom of the message,preferably next to the preview button.

However, since I am new to extensions what is the event that controls those buttons? Or in case I do not need an event , what is the best way to add that new button? Basically this button will load an external javascript when clicked.

Ta.
LaTeX Greek community
Proper usage of LaTeX creates beautiful ( scientific ) documents

User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8084
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Event for extension

Post by _Vinny_ » Mon Feb 05, 2018 1:23 pm

you can add through the posting_editor_submit_buttons event.

TJK
Registered User
Posts: 72
Joined: Sat Dec 26, 2015 9:10 pm
Name: Tolaso J Kos
Contact:

Re: Event for extension

Post by TJK » Mon Feb 05, 2018 8:09 pm

Thanks Vinny.
LaTeX Greek community
Proper usage of LaTeX creates beautiful ( scientific ) documents

User avatar
Sajaki
Registered User
Posts: 1351
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas
Contact:

Re: Event for extension

Post by Sajaki » Tue Feb 20, 2018 4:42 pm

what i usually do is install this extension.
viewtopic.php?p=14056706#p14056706

it highlights the event locations.

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests