Event for extension

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

Event for extension

Post by TJK »

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.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8686
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Event for extension

Post by _Vinny_ »

you can add through the posting_editor_submit_buttons event.
TJK
Registered User
Posts: 107
Joined: Sat Dec 26, 2015 9:10 pm
Name: Tolaso J Kos
Contact:

Re: Event for extension

Post by TJK »

Thanks Vinny.
User avatar
Sajaki
Registered User
Posts: 1371
Joined: Mon Mar 02, 2009 1:41 pm
Location: Amsterdam
Contact:

Re: Event for extension

Post by Sajaki »

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”