2 questions about the Newsletter widget

Dec 22, 2010 at 12:45 PM

Is it possible or feasible  to have the Newsletter widget send an email when the date of an existing post is changed?

Is it possible or feasible to have the Newsletter widget send an email when an existing page is changed or updated?

Not important stuff, just curious and maybe something down the road in the future. 

Dec 22, 2010 at 8:47 PM

Right now, the Newsletter widget sends out an email whenever the post is going from an Unpublished to a Published state.  So even right now, if you unpublish a post, click Save, and then publish it (via the checkbox) and click Save, the people will be emailed again.  Knowing this, you could use this capability by following that sequence of steps whenever you'd like to resend the Newsletter email.

The code could be adjusted to always send out a Newsletter whenever a post is updated.  But this would have to be tested, because there's various times that the Post is saved by BE when you are not editing it.  For example, when a comment is added, the post is saved ... but you are not actually editing the post.  Even in this scenario, the Newsletter widget would probably send out an email everytime the post is being saved like this ... i.e. whenever a new comment is added, or a comment is approved, etc etc.  In other words, the Newsletter widget probably cannot currently distinguish between the Post being saved because it's being edited VS it being saved for another reason.  Probably it's possible though to create code that could distinguish between these two situations.

....... it's possible for the Newsletter widget to go thru the same process when a Page is updated.  Currently, it's just Posts.  But it could be changed to handle Pages as well without it being an overhaul.

Dec 22, 2010 at 8:52 PM
Edited Dec 22, 2010 at 9:04 PM

Great!  Thanks for the info and tips Ben.

The Unpublished/Published state would work for my situation now.

Maybe sometime in the future this process could be available for Pages as well.


Any chance of the Pages being updated in 2.0 to work like the Posts?  This works great for the Posts.