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.

Pulling in data for mailouts

October 11, 2010 1:32am

Subscribe [2]
  • #1 / Oct 11, 2010 1:32am

    ralph.m

    225 posts

    Hi all, I’m wondering if anyone can suggest a solution for this—whether native to EE or via a 3rd party extension.

    I’m converting a static site to EE. The client sends out a regular email that includes information from a number of pages. The client only wants to type in the info once, so that it can appear on the relevant page but also in the email (for which I’m making a separate template and channel). That would be fine if the same info appeared in each email: the template would just pull in the latest channel entry from each relevant page. But the emails don’t always pull content from the same pages. (Sometimes it’s pages 1, 2 and 3, others pages 2, 5 and 7 etc.)

    So I’m looking for suggestions on how to set up the email template so that content from different pages is shown at different times? Or is this too ambitious? Is there some way to pick and choose which bits do and don’t appear?

    Thanks for any suggestions!

  • #2 / Oct 11, 2010 3:49am

    Cem Meric

    210 posts

    Hi Ralph,

    You could create a separate newsletter/mail out channel with playa field displaying other entries. Client then can select the ones to email in any order.

  • #3 / Oct 11, 2010 3:59am

    ralph.m

    225 posts

    Thanks Cem. I was starting to think Relationships might be the way to go, and I gather Playa adds a lot of options (though I haven’t used it).

    One question: I haven’t tested this, but can you pull in Matrix data with a relationship (either with or without Playa)?

    EDIT: silly me, checked the Playa page and it does seem to integrate with matrix fields. Which makes sense.  😝

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

ExpressionEngine News!

#eecms, #events, #releases