Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • suzyb 474 posts 932 karma points
    Mar 20, 2012 @ 12:47
    suzyb
    0

    Checking newsletter last sent date

    I'm trying to make it as easy as possible to create newsletters as I know if it isn't they wont get sent out.  So instead of requiring my users to select individual news articles I'd like them to just select the news index page and it selects all the articles added since the last newsletter.

    I had the thought of having a newsletterSentOut property on a settings node which gets updated when the newsletter is sent out.  I am thinking of doing this in ProcessPreRender, updating a property with the datetime it is being executed.

    But is there a better way?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Mar 20, 2012 @ 18:43
    Markus Johansson
    0

    Are you talking about the "Insert Url Content"-feature in the RTE? Have you had a look at this screen demo? http://www.youtube.com/watch?v=a4Ei7HyLLpg

    The user clicks a node in the content picker, and chooses an alternatig umbraco template for rendering. Options could be for you to add this into the Newsletter Studio-skin (found att the Skins-tab i the settings section of Newletter Studio) or to add an predefined template with the "inser url content"-part included.

    About the "newsletterSentOut" property you could update that but the render task happens before you really know that the sending was succesful. An option would be to make some kind of batch that looks at the EmailTrackingItems-table in the db and uses the status from there.

    // M



  • suzyb 474 posts 932 karma points
    Mar 22, 2012 @ 14:43
    suzyb
    1

    I was taking about the Insert Url Content.

    I followed your suggestion and created a template with the insert url included.  Then I created a helper function to get the sent date of the most recent newsletter.  My razor macro then justs selects the news since that date.

    Seems to work so far.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Mar 29, 2012 @ 07:05
    Markus Johansson
    0

    Great news!

    You can always use the "copy to new"-feature to reuse an already sent newsletter.

    So this post is solved then?

Please Sign in or register to post replies

Write your reply to:

Draft