We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51020
    • 670 Posts
    Hi

    I have a selection of offers which require the user subscribes via a form.
    So each offer is a resource and I want the content of that resource sent in an email in the form of a voucher. Is there a way of bringing this content in with placeholders?

    Any ideas/suggestions?

    Thanks
    Andy

    This question has been answered by BobRay. See the first response.

    • discuss.answer
      • 3749
      • 24,544 Posts
      If subscribing is free, you might be able to do it with Subscribe and Notify. You can create a custom Tpl chunk for Notify to use to send email to a User Group (or groups). It can contain resource field tags, but I'm not sure if you can use a TV tag in the Tpl chunk or not.

      EmailResource might do it, but it's fairly old and clunky. It sends the whole resource to the user in an email. I'm pretty sure it would process any TV tags.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 51020
        • 670 Posts
        OK thanks Bob as ever - I will have a play.