Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#196 2008-01-29 20:58:02
Re: zem_contact_reborn 4.0.3.20
I wish I could set the tab order with my ZCR input fields. Tabindex isn’t an attribute so can’t be applied. I briefly thought about trying to wrap the ZCR tags in an html tag, but I don’t think that would work, either. Anybody know of a workaround? Or if it could become a feature in the next release?
Swim Kitten, A Magento Site
When nothing but incredibly revealing dresses and swimwear will do
Offline
#197 2008-01-29 21:45:41
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: zem_contact_reborn 4.0.3.20
rsskga wrote:
I wish I could set the tab order with my ZCR input fields. Tabindex isn’t an attribute so can’t be applied. I briefly thought about trying to wrap the ZCR tags in an html tag, but I don’t think that would work, either. Anybody know of a workaround? Or if it could become a feature in the next release?
Using tabindex can actually have some negative implications for a site’s disabled accessibility. Like the accesskey attribute (which has its own issues), this is one of those features of HTML that’s a nice idea but doesn’t work so well in practice.
Offline
#198 2008-01-30 19:12:28
Re: zem_contact_reborn 4.0.3.20
It is a planned feature for a next release, but it’s not going to happen soon.
Offline
#199 2008-02-05 22:59:05
Re: zem_contact_reborn 4.0.3.20
I hope this hasn’t been covered recently, but I was wondering if it was possible to show the contact form again after you submit instead of the “thanks” message.
I’m using this plugin to create a page feedback form and it makes sense to show the form again after they submitted.
I tried passing the form as the “thanks_form” but it only showed the text parts of the form.
Thanks!
Offline
#200 2008-02-06 00:23:45
Re: zem_contact_reborn 4.0.3.20
Logoleptic wrote:
rsskga wrote:
I wish I could set the tab order with my ZCR input fields. Tabindex isn’t an attribute so can’t be applied. I briefly thought about trying to wrap the ZCR tags in an html tag, but I don’t think that would work, either. Anybody know of a workaround? Or if it could become a feature in the next release?
Using
tabindexcan actually have some negative implications for a site’s disabled accessibility. Like theaccesskeyattribute (which has its own issues), this is one of those features of HTML that’s a nice idea but doesn’t work so well in practice.
Fair enough. Thanks for the info. By the way, I subscribed to your blog – but fyi… when I click on the RSS button in the address bar (in Safari) I get an error message. Cutting and pasting your main blog URL into my feed reader seemed to work just fine, though.
Swim Kitten, A Magento Site
When nothing but incredibly revealing dresses and swimwear will do
Offline
#201 2008-02-06 07:00:39
Re: zem_contact_reborn 4.0.3.20
typeshige, that’s possible only by first redirecting to another page and having that redirect back to the page containing the form.
Offline
#202 2008-02-06 08:23:29
Re: zem_contact_reborn 4.0.3.20
ruud wrote:
typeshige, that’s possible only by first redirecting to another page and having that redirect back to the page containing the form.
Thanks! I’ll give it a shot.
Offline
#203 2008-02-11 23:07:19
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: zem_contact_reborn 4.0.3.20
Logoleptic wrote:
ZCR has always done a fantastic job of blocking spam, but lately I’ve been getting about one “male enhancement” message per day through my contact form. I’m running the current version of the plugin, together with pap_contact_cleaner and my own aam_zcr_clearcache.
Can anyone suggest additional ways to harden a ZCR form against spam? I’d like to avoid CAPTCHA, if possible.
I also receive a lot of spam lately. I only use this plugin without any further additions.
Regards,
Joey
Offline
#204 2008-02-12 15:09:04
- simsim
- Member
- Registered: 2006-05-06
- Posts: 70
Re: zem_contact_reborn 4.0.3.20
Hello,
How can I make the link to “Send Article” opens in a new popup window? Now it just opens in the same window and has confused many people on the site.
Offline
#205 2008-02-13 21:51:59
- simsim
- Member
- Registered: 2006-05-06
- Posts: 70
Re: zem_contact_reborn 4.0.3.20
^^ Anyone?
Offline
#206 2008-02-13 22:11:29
Re: zem_contact_reborn 4.0.3.20
The ‘send article’ link is nothing but a link to the page itself, with a query string ?zem_contact_send_article=yes added ( http://example.com/contact/?zem_contact_send_article=yes )
So if you know how to create a pop-up window, you can manually use such an URL for the popup-window.
Offline
#207 2008-02-14 12:19:18
- simsim
- Member
- Registered: 2006-05-06
- Posts: 70
Re: zem_contact_reborn 4.0.3.20
There is no way to customize the “Send article” attributes in any way, which is really lacking behind the customization richness of the plug-in. I had to do <span id="send_article"><txp:zem_contact send_article="1" />
<txp:zem_contact_send_article /></span> but I couldn’t figure out how to make getElementById work on the anchor instead of the span!
Last edited by simsim (2008-02-14 12:20:03)
Offline
#208 2008-02-14 15:48:31
Re: zem_contact_reborn 4.0.3.20
My point was that you don’t necessarily have to use the send_article tag. It’s fairly easy to hardcode the URL yourself.
Offline
#209 2008-02-15 02:53:00
Re: zem_contact_reborn 4.0.3.20
I would like to edit the zem_contact_reborn plug in to include an additional script that maps the fields of the contact form to the fields in a Delivra database for e-mail newsletters. It does this when a user selects the checkbox named “newsletter” and hits submit. It was working on a simple contact form I had previously (not a textpattern site, but hard-coded html) by including the line
require_once(“delivra.php”);
in the mailto.php form… I would assume I could put that line in the zem_contact_reborn code somewhere, but I don’t know where as I am not that fluent with PHP. Or perhaps I need to change a line in the delivra.php script as well, I don’t know.
I do know that I have the names of all my fields in the form named correctly, so they should map if the newsletter checkbox is checked. I also know that the listname and the post to delivra information is correct (like I mentioned, it was working with another simple contact form before i started working on this textpattern site).
Thank you for any help you can offer in making this work – it’s a cool feature to have as it automatically updates my e-newsletter database with people’s information if they opt in, without me having to create an additional newsletter subscription form.
Thanks!
Michael
See the contact form here: http://maostudios.com/BETA/maoStudios/contact/contactUs
The delivra script (delivra.php) is here:
<?php
if(isset($_POST["newsletter"]) && $_POST["newsletter"] == 'Y'){
$f = 'list=mao-studios&confirm=none&';
//set post fields
// Set Email
if(isset($_POST['EmailAddr_'])){
$f .= 'email=' . urlencode($_POST['EmailAddr_']);
}else{
$f .= 'email=|';
}
// Set Name
if(isset($_POST["LastName_"])){
$f .= '&name=' . urlencode($_POST["FirstName_"]) . " ". urlencode($_POST["LastName_"]);
}else{
$f .= '&name=|';
}
// Set Last Name
if(isset($_POST["LastName_"])){
$f .= '&LastName_=' . urlencode($_POST["LastName_"]);
}else{
$f .= '&LastName_=|';
}
// Set First Name
if(isset($_POST["FirstName_"])){
$f .= '&FirstName_=' . urlencode($_POST["FirstName_"]);
}else{
$f .= '&FirstName_=|';
}
// Set referral
if(isset($_POST["Text3_"])){
$f .= '&Text3_=' . urlencode($_POST["Text3_"]);
}else{
$f .= '&Text3_=|';
}
// Set Comments
if(isset($_POST["Comment_"])){
$f .= '&Comment_=' . urlencode($_POST["Comment_"]);
}else{
$f .= '&Comment_=|';
}
// Set Demographics
$f .= "&demographics=FirstName_ LastName_ Text3_ Comment_";
// Post to Delivra
$c = curl_init('http://www.ne16.com/subscribe/subscribe.tml');
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, $f);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
$page = curl_exec($c);
curl_close($c);
}
?>
Last edited by ruud (2008-02-15 18:01:31)
Offline
#210 2008-02-15 05:55:54
- simsim
- Member
- Registered: 2006-05-06
- Posts: 70
Re: zem_contact_reborn 4.0.3.20
ruud wrote:
My point was that you don’t necessarily have to use the send_article tag. It’s fairly easy to hardcode the URL yourself.
I’ve tried to hardcode the URL since first time but it never worked. You mean like this:
<a href="<txp:permlink />?zem_contact_send_article=yes" onclick="makePopup(args)">Send article</a>?
It never works and the page doesn’t even display on the same page let alone on a popup window. Could it be because I’m using clean URLs mode?
Offline