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

    Is there a way to include a subscription option to our TX Newsletter with an eform?

    Any recommendations welcome smiley
      Martin Sanders - Design & Web Development
      • 19975
      • 429 Posts
      Any ideas?
        Martin Sanders - Design & Web Development
        • 37242 ☆ A M B ☆
        • 339 Posts
        First of all, I’d like to check this TX out and then develop a solution (if TX see ms usable to me).

        Any suggestions from yourself about the integration?
          • 19975
          • 429 Posts
          I’m new to eforms but I’m sure that there must be some way to integrate the two. I know that it would be helpful for a number of personal projects and could see it also being helpful to other modx users
            Martin Sanders - Design & Web Development
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            I’m not familiar with TXNewsletter, but I’m sure that like everything else, it’s all in the database. Use something like the eform2db snippet to save the subscriber data into your mailing list table, and use the response tpl to send the subscriber an email telling him he’s subscribed, with an unsubscribe link.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org