I'm using the basic samples for PHP in a WordPress installation. In my theme, I use the simple-form.php, the two text files containing the states/countries, and the cc-class include. In the cc-class include, the only things I've modified are adding my API key + username/password, and specifying the correct list for the Interests as the documentation advises. I've left the basic simple-form script as is (other than removing the header include).
I can get the samples to insert contacts into CC on the list I specify, but I have a few questions:
Please let me know if I'm approaching this all wrong; I just want to customize the sign up form for public subscribers and don't want to use the Join My Mailing List form.
P.S. I've tried the WordPress plugin for this, but it doesn't allow me to control the look of the pages after the user signs up, which is why I've turned to the API.
Nevermind guys - the one thing I missed was to change ACTION_BY_CUSTOMER to ACTION_BY_CONTACT in the cc-class include. (I had tried to change it in an altered version of the script that didn't work). Once I did that, the opt-in and welcome emails went through!
View API documentation, code samples, get your API key.
We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...Read More