Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3679848
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:30:26+00:00 2026-05-19T03:30:26+00:00

I want to use the Drupal modules Webform and Email Marketing Framework to allow

  • 0

I want to use the Drupal modules Webform and Email Marketing Framework to allow anonymous users to fill out a short contact form and then be subscribed via the campaignmonitor API to a list.

So far my process idea is as follows, and I’m interested to see if anyone can think of a more streamlined approach?

  1. Webform submission interrupted using hook_form_alter()
  2. Form data extracted (Name, email address)
  3. actions_do() called to fire action with an AID of 2. Action AID2 is instance of emf_subscribe_action()
  4. Pass form data as appropriate and let EMF do the work communicating with campaign monitor.

As I see it this approach allows me to set up a system which can be administrated all on-site without the need for PHP development. I’m reckoning on setting a certain content type, enabling webforms on it, and then each time a user creates one of these webforms, the action can be called.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:30:26+00:00Added an answer on May 19, 2026 at 3:30 am

    The answer was to use Webform to create the form and then the EMF module to perform the campaign monitor integration. I had to create a custom module to intercept the submission of the particular form and fire off the email request. I also had to write the details to a CSV, so that’s the extra chunk of code here.

    Here’s the meat of the module just in case anyone else need this in the future:
    http://drupal.org/node/1022916

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Drupal autoresponder module - and I want to use tokens so I
I am using SolrPhpClient with Drupal and i want to use drupal as higher-layer
Can we use Drupal as a framework for larger application? Is it suitable for
I want to allow members of a Drupal website to upload their own content
I want to use the Brilliant Gallery (Drupal) to show a public Picasa album.
I want use groovy findAll with my param to filtering closure filterClosure = {
i want use some data from a website with web service. i have a
I want use JQuery mobile for the front-end of my mobile application, but I
I want use jQuery in my project. I know the javascript_include_tag calls the jQuery
I have a transaction log file in CSV format that I want use to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.