I have been through most of the forum looking for Acajoom/jNews issues and how-tos. This process is straightforward and makes complete sense, but many of my fields are not getting passed to jNews. I'm hoping someone has some input.
First, I'm using CF 3.2 (also tried 3.1RC5) and jNews Pro 5.1.2 (also tried 4.1.2).
Utilizing the CURL plugin:
- Under the General tab I set my form "name" field to equal "name" (the jNews/Acajoom field) and "email" to equal "email"
- In the Extra Fields box I put "listid=17" and "receive_html=1" on two separate lines.
- Under the CURL Params tab, I set the Target URL to "index.php?option=com_jnewsletter&act=subscribe&" (also tried without trailing "&" symbol).
When the form is processed a user does indeed get created in jNews, but only the email field is passed. The listid, name, and receive_html items are ignored. I have confirmed with the Joobi documentation that the the jNews subscription URL is the same as Acajoom (in this case: index.php?option=com_jnewsletter&act=subscribe&name=$name&email=$email&listid=17&receive_html=1).
So in addition to the CURL plugin, I also tried setting the On Submit Code to the following:
This produces the exact same results; a user is created but only the email address field is translated to jNews. I'm pretty sure I have confirmed that my variables/field names are correct (there's only two; hard to mess up).
Any input is appreciated.
First, I'm using CF 3.2 (also tried 3.1RC5) and jNews Pro 5.1.2 (also tried 4.1.2).
Utilizing the CURL plugin:
- Under the General tab I set my form "name" field to equal "name" (the jNews/Acajoom field) and "email" to equal "email"
- In the Extra Fields box I put "listid=17" and "receive_html=1" on two separate lines.
- Under the CURL Params tab, I set the Target URL to "index.php?option=com_jnewsletter&act=subscribe&" (also tried without trailing "&" symbol).
When the form is processed a user does indeed get created in jNews, but only the email field is passed. The listid, name, and receive_html items are ignored. I have confirmed with the Joobi documentation that the the jNews subscription URL is the same as Acajoom (in this case: index.php?option=com_jnewsletter&act=subscribe&name=$name&email=$email&listid=17&receive_html=1).
So in addition to the CURL plugin, I also tried setting the On Submit Code to the following:
<?php
$name = JRequest::getVar('name', '', 'post');
$email = JRequest::getVar('email', '', 'post');
$MyForm->setFormData('redirecturl', "index.php?option=com_jnewsletter&act=subscribe&name=$name&email=$email&listid=17&receive_html=1;
?>
This produces the exact same results; a user is created but only the email address field is translated to jNews. I'm pretty sure I have confirmed that my variables/field names are correct (there's only two; hard to mess up).
Any input is appreciated.