Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-03-09 17:15:49
- MonkeyChap
- New Member
- Registered: 2007-01-03
- Posts: 7
Download e-mail tracker
Hello,
I’d like to be able to ask people to provide their e-mail address prior to downloading files (e.g. whitepapers). This is fairly common practice, but does not seem to be possible with Textpattern. Has anyone found a way to do this ?
Ian
Offline
Re: Download e-mail tracker
You can use zcr … something like
<txp:zem_contact to="you@domain.tld" label="" required="1" thanks_form="mythanks">
<txp:zem_contact_email label="Your email" /><br />
<txp:zem_contact_submit label="Download" />
</txp:zem_contact>
and in your form mythanks
you can have the file download link(s).
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2011-03-09 17:29:34
- MonkeyChap
- New Member
- Registered: 2007-01-03
- Posts: 7
Re: Download e-mail tracker
cool thanks. I’ll give it a try.
Is there any way to check it’s a valid e-mail address ?
Offline
Re: Download e-mail tracker
As far as I know… no
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Download e-mail tracker
From ZCR plug-in help:
<txp:zem_contact_email />
Input field for user’s email address.
The entered email address will automatically be validated to make sure it is of the form “abc@xxx.yyy[.zzz]”. On non-Windows servers, a test will be done to verify that an A or MX record exists for the domain. Neither test prevents spam, but it does help detecting accidental typing errors.
Offline
#6 2011-03-10 09:01:54
- MonkeyChap
- New Member
- Registered: 2007-01-03
- Posts: 7
Re: Download e-mail tracker
Thanks – got it working now. It even seems to be sending mails despite the fact I’ve never been able to get Textpattern to send mails before.
Offline
#7 2011-03-10 11:33:16
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Download e-mail tracker
D’oh! Thanks, Joe. Deleted my misleading post.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Download e-mail tracker
For the sake of posterity :)
Colak also has a version of his suggestion @ TxpTips
Offline
Re: Download e-mail tracker
maverick wrote:
For the sake of posterity :)
Colak also has a version of his suggestion @ TxpTips
Oops forgot about it:) I knew I posted it somewhere but i thought it was in this forum
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1