ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Send monthly newsletter containing weblog entries to subscribers

July 17, 2009 5:05pm

Subscribe [2]
  • #1 / Jul 17, 2009 5:05pm

    Ambition

    8 posts

    Hi Guys,

    I’m in discussions with a client that would like to send out a monthly newsletter containing content from a weblog. The content is a list of used cars. The client will be adding cars on a regular basis. In an ideal world, the client would like to set a status of ‘hot’ (or something similar) when adding a car, then at the end of each month, send out an email with an opening welcome message followed by a list of all of the cars marked as ‘hot’ to a mailing list.

    Is this achievable? I’ve produced a number of sites for various agencies using EE but this is the first time this functionality has been requested.

    I’ve taken a quick look at the Entry Mailing extension but as far as I can tell, I won’t give my client the opportunity to choose which entries to mail (via status or something similar) and when.

    Has anyone implemented a similar function to this? and if so, would you be kind enough to point me in the right direction.

    Look forward to hearing your thoughts.

    Cheers,

    Gary 😊

  • #2 / Jul 17, 2009 5:48pm

    silenz

    1651 posts

    Well, you could achieve at least something in that direction with Entry Mailing.

    Create a weblog for the newsletters. Whenever you want to send one start a new entry there or use an existing one and just re-mail it.

    Then use a regular template in which you pull the data you need. If you want to employ data not connected to the entry used for the mailing be sure to use dynamic=“off” in the weblog:entries:tag.

    {!-- This would use data of the entry used to initiate the mailing //--}
    {exp:weblog:entries}
    {text}
    {more}
    {/exp:weblog:entries}
    
    {!-- This can pull any kind of data defined by you //--}
    <ul>
    {exp:weblog:entries dynamic="off" weblog="cars" status="hot"}
    <li>{title}</li>
    {/exp:weblog:entries}
    </ul>

    I hope that was comprehensible…

  • #3 / Jul 18, 2009 5:16am

    Ambition

    8 posts

    Ah! Superb.

    I had noticed that you can assign a regular template to each Entry Mailing, but hadn’t considered creating a new section devoted to the newsletters and then assigning my template to that. Ha! It’s obvious now that you mention it. Sorry… had a long day yesterday 😉

    Nice one!

    G.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases