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.
Thanks.
UPDATE:
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!
Hi,
We are glad that you were able to resolve your issue. Please contact us if you have any additional issues that we can help with.