Hi--first, thanks for this module! It is a feature I could use but unfortunately I'm not php literate (yet!) and so am wondering if you know when a D7 version might be available. Thanks again!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

justphp’s picture

Assigned: Unassigned » justphp
Status: Active » Closed (fixed)

I've already started work on it but it's not a straight forward port from D6, it will need quite a big rewrite of some bits so might take a few more weeks.

cartagena’s picture

Thanks so much. I am in awe of programmers...

primitive’s picture

Component: Code » Miscellaneous

Yes, a D7 version of this module would be a massive help. Glad to hear you're working on it! Thanks for your contributions, justphp.

ELS Landscape’s picture

Do I need to lean on Constant Contact if they want to keep me past my 60 day trial? I would hope they support the Development.

justphp’s picture

yes they should let you extend your trial for development purposes, I have a trial account about 2 years old that still works.

ELS Landscape’s picture

Yes but you are actually developing the code. :P
I want to push them to support you in getting it developed.

I think Constant contact has some skin in this game.

justphp’s picture

Constant contact paid me to develop the Wordpress Plugin so they are receptive to people suggesting new integrations, I doubt they would sponsor a webform component integration for d7 but worth asking them I guess!

JuliaKoelsch’s picture

Hello,

I am curious about the status of this issue -- it's closed, but it doesn't look like it's been released yet. If it's not ready yet, do you have a sandbox for it? Maybe some of us could pitch in and help. Thanks!

jerry’s picture

Echoing the comments above. I could use this and would be willing to lend a hand to get it released. A dev release would be an excellent start.

benschaaf’s picture

Also interested in seeing this happen. Could potentially sponsor in part.

attheshow’s picture

Status: Closed (fixed) » Needs review
FileSize
5.59 KB

First pass at a D7 version. I'm also going to be trying to add in the ability for additional field values on the same form (as long as they're named according to the API naming conventions for fields) to be pulled in when users are added/updated via the webform.

attheshow’s picture

2nd draft is attached. A bit more code cleanup. I also fixed the database query in the module to use the new PDO/DBTNG query style. And I added the functionality I mentioned above. If the user names other webform fields (machine name) according to the mappings that they have set up within the main Constant Contact module's configuration screen, any matching webform data should travel over to Constant Contact too along with the email address.

justphp’s picture

Great, ill put this out as a development release when I get a mo.

waltercat’s picture

Just upgraded to D7 and the port is not working for me. I am getting this:

Notice: Undefined index: attributes in _webform_render_cc_email() (line 178 of /var/www/bkwinery_dev/sites/all/modules/webform_constant_contact/webform_constant_contact.inc).
Notice: Undefined index: field_size in _webform_render_cc_email() (line 186 of /var/www/bkwinery_dev/sites/all/modules/webform_constant_contact/webform_constant_contact.inc).
Notice: Undefined index: attributes in _webform_render_cc_email() (line 178 of /var/www/bkwinery_dev/sites/all/modules/webform_constant_contact/webform_constant_contact.inc).
Notice: Undefined index: field_size in _webform_render_cc_email() (line 186 of /var/www/bkwinery_dev/sites/all/modules/webform_constant_contact/webform_constant_contact.inc).

Also I have multiple newsletter lists and even though I select only one, it shows all of my newsletter lists.

I am happy to pay to have a D7 release version finished up.

waltercat’s picture

Offer is still out there to pay for a port of this to D7.

justphp’s picture

Sorry I just don't have the time for this right now.

attheshow’s picture

Status: Needs review » Closed (fixed)

The code from #12 has been submitted as a D7 1.0 release now. Marking this issue as fixed.