Adding custom button action in the Admin Context Menu

7 views
Skip to first unread message

Ryan Watts

unread,
Aug 21, 2016, 1:44:26 PM8/21/16
to apostrophenow
Greetings,

How difficult is it to add a custom button action within the context of a piece.

For example I'm writing an email module for a client who would like to send out emails to a specific group with sales related content.
I'm going to write the email templates within the module it'self and give him the option to choose between which type of email he would like to send.

Essentially I would like to add a button within the index of this piece to say Send Mail, or Email. Which that action would send the email via nodemailer.
I believe there were examples of something similar in 0.5 but I want to double check if there are any major differences before I start porting things that ought not be ported .

Kindly,

Ryan

Tom Boutell

unread,
Aug 21, 2016, 4:44:49 PM8/21/16
to apostr...@googlegroups.com
Within the context of the piece... are you thinking, say, in
show.html? Or in the editor?
> --
> You received this message because you are subscribed to the Google Groups "apostrophenow" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to apostropheno...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--


THOMAS BOUTELL, SUPPORT LEAD
P'UNK AVENUE | (215) 755-1330 | punkave.com

Ryan Watts

unread,
Aug 21, 2016, 9:55:59 PM8/21/16
to apostrophenow
Hi Tom , 

I'm referring to the editor.

Tom Boutell

unread,
Aug 23, 2016, 9:57:51 AM8/23/16
to apostr...@googlegroups.com
Just published a new HOWTO on this which should be a helpful departure
point for discussion:

http://unstable.apostrophenow.org/howtos/extending-the-pieces-editor-modal.html

Thanks for nudging the documentation along Ryan!
Reply all
Reply to author
Forward
0 new messages