Forums

Redirect & Ezine

cgingrich 08 Jun, 2009
Two Questions that hopefully someone could graciously provide assistance on...

First, I am trying to embed a form to sign up for an subscription to ezinedirector. All is well except when you subscribe, I would like a javascript window (or at the least another full window) to pop up with the validation, simply saying that you registered or that the email is already subscribed. Currently it shows up in the same window and you can't navigate anywhere from there. Link: http://nextinlineproductions.com/greenlegion/index.php?option=com_content&view=article&id=36&Itemid=67
(you can use the email [email]chad@greenlegion.com[/email] to see what I mean)

Additionally,

I'm looking for a redirect feature after they sign up. We like to require newsletter signup to view photo galleries/etc. so I was wondering how to redirect to the appropriate page after you sign up and get the popup validating the email was entered into the email list. I tried the redirect URL in Chronoforms but it doesn't seem to do anything really.

Any help to either of these questions would be awesome, thanks!
GreyHead 09 Jun, 2009
Hi cgingrich,

It looks as though you are using an OnSubmit URL to direct the form output to ezinedirector.net - no problem with this but ChronoForms never sees the form results so cannot do anything with them (including redirect).

If you want ChronoForms to handle the results then you'll need to use the CURL Plugin to send the selected info on to ezinedirector.

Bob
cgingrich 15 Jun, 2009
Cool...I'm seeing the plug-in and trying to configure it but it's still not doing anything much differently. Here is the code I received from ezine for the form:


<form action="http://sub.ezinedirector.net/index.cfm" method="post">
<input name="fuseaction" style="vertical-align: middle;" type="radio" value="r" /> remove<br />
<input checked="checked" name="fuseaction" style="vertical-align: middle;" type="radio" value="s" /> subscribe<br /><br />

<input checked="checked" name="EzineID" style="vertical-align: middle;" type="checkbox" value="964694572" />
<span style="font-family: Verdana, Arial, Helvetica, sans-serif;">
Green Legion
</span><br />

<input maxlength="255" name="email" onFocus="value=''" style="width: 10em;" type="text" value="Enter Email" /><br />


<br clear="all" /><br />

<input name="submit" type="submit" value=" subscribe " />
</form>

I tried inputting this into multiple places on both the CURL plugin and the normal form code but to no avail I'm not getting any different results. Also where do I input the redirect url on which it will go to after the form is submitted?

Thanks for your help.
Max_admin 16 Jun, 2009
Hi cgingrich,

when you use the ezine default form, are you required to complete any data at their site after you submit the form ? if yes then the CURL will not work for you!

if not then you need to use the form url in the curl target url field:
http://sub.ezinedirector.net/index.cfm


and fill the other form fields names! I think you may set your form code to include these fields for simplicity:

<input name="fuseaction" style="vertical-align: middle;" type="radio" value="r" /> remove<br />
<input checked="checked" name="fuseaction" style="vertical-align: middle;" type="radio" value="s" /> subscribe<br /><br />

<input checked="checked" name="EzineID" style="vertical-align: middle;" type="checkbox" value="964694572" />
<span style="font-family: Verdana, Arial, Helvetica, sans-serif;">
Green Legion
</span><br />

<input maxlength="255" name="email" onFocus="value=''" style="width: 10em;" type="text" value="Enter Email" /><br />


<br clear="all" /><br />

<input name="submit" type="submit" value=" subscribe " />


Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cgingrich 16 Jun, 2009
I'm not required to put anything else into ezine....just copy/paste the code.

When I follow these instructions and input just into CURL....I get no visible form on the frontend. Upon putting the code into the form code, I Do get the form but again get the message "You are not allowed to access this URL." I'm sure there's one simple thing I'm missing, I will keep trying.
GreyHead 16 Jun, 2009
Hi cgingrich,

Here's the simple version - without the unsubscribe option.

Use the wizard to create a form with one text inut filed called 'email' and a submit button. Save it.

Configure CURL for this form with these settings.
Note: with Flow Control set to "Before Email" you need to set Send Emails to "On" in the form general tab.

Test.

Bob
cgingrich 23 Jun, 2009
This seems to be working! Thank you very much for your help!
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount

{item:title} {images:#}