Hi Bob,
i bought your cooking book and followed your instructions. I tryed to use the simple form to start with but even that i am not getting to work. So hopefully you can show me the wayarrow-right
This from the Jnews form
<!-- Begining : jNews Form -->
<div><form action="http://www.domainname.com/index.php?option=com_jnewsletter" method="post" name="modjnewsletterForm"> <input name="Itemid" type="hidden" /><input id="wz_31" class="inputbox" value="1" name="subscribed[1]" checked="checked" type="checkbox" /> <input name="sub_list_id[1]" value="18" type="hidden" /> NewsletterListName<br /> <input name="acc_level[1]" value="29" type="hidden" /> <input id="wz_11" size="10" value="Name" class="inputbox" name="name" onblur="if(this.value=='') this.value='Name';" onfocus="if(this.value=='Name') this.value='' ; " type="text" /> <br /> <input id="wz_12" size="10" value="E-mail" class="inputbox" name="email" onblur="if(this.value=='') this.value='E-mail';" onfocus="if(this.value=='E-mail') this.value='' ; " type="text" /> <br /><br /><input id="wz_2" class="inputbox" value="1" name="receive_html" checked="checked" type="checkbox" />Ontvang HTML? <br /> <input id="wz_22" value="Subscribe" class="button" type="submit" /> <input name="act" value="subscribe" type="hidden" /> <input name="listname" value="1" type="hidden" /> <input name="passwordA" value="********" type="hidden" /> <input name="fromSubscribe" value="1" type="hidden" /> <input name="security_captcha" value="******=" type="hidden" /></form></div>
<!-- End : jNews Form -->
This is the Form Code part
<div class="form_item">
<div class="form_element cf_checkbox">
<label class="cf_label" style="width: 150px;">Newsletter</label>
<div class="float_left">
<input value="1" title="" class="radio validate-one-required" id="subscribed_01" name="subscribed" type="checkbox" />
<label for="check00" class="check_label">NewsletterListName</label>
<br />
</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Your name</label>
<input class="cf_inputbox required" maxlength="150" size="30" title="" id="name" name="name" type="text" />
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Your Email</label>
<input class="cf_inputbox required validate-email" maxlength="150" size="30" title="" id="email" name="email" type="text" />
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_checkbox">
<label class="cf_label" style="width: 150px;">HTML email=</label>
<div class="float_left">
<input value="1" title="" class="radio validate-one-required" id="receive_html" name="receive_html[]" type="checkbox" />
<label for="check10" class="check_label">Yes</label>
<br />
</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_button">
<input value="Subscribe" name="button_4" type="submit" />
</div>
<div class="cfclear"> </div>
</div>
Here the part i placed in Extra field values to send under General
index.php?option=com_jnewsletter
Error line above CURL params
CURL OK : the CURL function was found on this server.
$params: JParameter Object ( [_raw] => debugging=0 target_url=http:// header_in_response=0 onsubmit=before_email [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /home/******/public_html/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [debugging] => 1 [target_url] => http://www.domainname.com/index.php?option=com_jnewsletter [header_in_response] => 0 [onsubmit] => before_email ) ) ) [_errors] => Array ( )
)
I also setup the emails to be sent to the subscriber and to the admin, off wich i am not sure that i had too, because normally JNews will sent a email to confirm the subscription. I guess in this case they get 2 emails. 1 From Chronoforms with there submitted information ( i have made a form with more information than just the subscription questions) and the other from JNews with the option to confirm there subscription.
If you have any suggestion how i shoud work this out.. iam a little lost right now.
Thanks in advance Bob
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [subscribed] => 1 [name] => jamboo [email] => [email]info@domainname.com[/email] [receive_html] => Array ( [0] => 1 ) [button_4] => Subscribe [ad451bb28c423a9eaeda41d75e6414fa] => 1 [1cf1] => 3bb8e09402790aa303f2ec843bf1e1e4 [chronoformname] => JNews_1 )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. Debug End