Joomla 1.6, Curl, and Chronoforms - help, please

jslvideo 19 Jul, 2011
Folks,

I just finished upgrading my site to Joomla 1.6 and found Chronoforms to help me connect to iContact.com, though for the life of me I can't make it work. I followed the example from greyhead's site (even though it was from the previous version it gave me a great start). Though it still doesn't work. http://greyhead.net/chronoforms/chronoforms-signing-up-to-a-newsletter-service

My icontact.com account is fine. I have three fields on my form (firstname, lastname, email) and a submit button. Validation works great, and my fieldnames are simple (firstname, lastname, email)

On load I have Show HTML, and on submit, I have CURL (Curl is enabled).

On CURL I have all the right params/fields map (i even attempted the mapping with the field names in it (i.e. fields_fname=firstname and without it). I have the https:// correct to icontact.com

I can't seem to figure out what I am doing wrong… though I am sure it is something easy. Any thoughts? or a place I can go to find documentation with 1.6 and V4? Is there a place in Joomla and/or CF that I can see how the post is working and if it is sending it (i.e. errorlog etc)?

Thanks in advance.

Joel
GreyHead 19 Jul, 2011
Hi Joel,

Max's cURL action doesn't allow you to map constants - you have to put them into the form data either by using hidden inputs in the form or using a Custom Code action before the curl.

I have a cURL[GH] action you can get here that has more functionality and lets you add both constant values listid=697 and variable values fields_fname={firstname}

Bob
jslvideo 19 Jul, 2011
Thanks Bob. This makes a lot of sense.

I do have one small question: The installation of the two files from the zip: curl_gh.ctp and curl_gh.php are suppose to be installed in: "administrator/components/com_chronoforms/form_actions", problem is that on J1.6 there appears not to be a directory named that in com_chronforms.

My first attempt I created one. No luck, curl [GH] is not showing up in any of the categories. Help (again)

Joel
jslvideo 19 Jul, 2011
Bob, No need to respond. I figured it out. I have no clue why I didn't see it! The GREAT NEWS is that it works the first time! Thanks for solving! Joel
warrickvdh 17 Oct, 2011
I have been trying to get this to work in chronoforms v4. I am banging my head!
I have done everything as above but am unsure what I am doing wrong. I am sending a form to a credit card service so I need to send the information and be sent to the page as well as send an email with the information.

When I submit the form disappears and I am left on the same page

[list]I am using the cURl to try send this info.[/list]
[list]cURL is enabled on my PHP.[/list]
[list]I am running the test site on Xampp locally.[/list]

Is there a plug-in I have to install or enable. If so where do I do this?
will my page be directed to the url as well as send the data?
Is there a page/documentation I can find info on setting this up?

TIA
GreyHead 23 Oct, 2011
Hi warrickvdh,

In trying to fix a problem with AcyMailer I found a bug in the Joomla! 1.6/1.7 version of the action :-( It's particlaly solved but not there is still something else stopping it working correctly.

I'll post the fixed version as soon as I have it.

Bob
GreyHead 23 Oct, 2011
Hi warrickvdh,

Please try the attached version. It fixes a bug in Joomla! 1.6/1.7 and has some improvements in the handling of the Target URL.

Bob
This topic is locked and no more replies can be posted.