Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1057 2011-09-07 10:48:17
Re: zem_contact_reborn 4.0.3.20
Hi
A simple zcr work as expected (with the same email that rendered by <txp:jmd_author display=“email”/>)
The <txp:jmd_author display=“email”/> return the right email (i put it in <p><txp:jmd_author display=“email”/></p> and it rendered the email without extra code or caractere
Has someone tried that before me?
Offline
#1058 2011-09-07 12:05:49
Re: zem_contact_reborn 4.0.3.20
Sorry, but I haven’t used jmd_author
at all, but I have done something similar by using the results from smd_query
with success.
Only last thought – are you sure that the output doesn’t obscure the email address (ie. in the source) to prevent harvesting of email addresses? Otherwise, I don’t think I can add much…
Offline
#1059 2011-09-07 12:49:25
Re: zem_contact_reborn 4.0.3.20
Hi
I looked into jmd_author code to see what it do:
It s small but i found this line:
$out = Ee(safe_field("email", "txp_users", "name='$username'"));
and this one
return strreplace(' ', $separator,$out);
I remve the Ee form the first and change the second to :
return $out;
and now the form work!
Thanks guys for you help i really appreciate.
Offline
#1060 2011-09-09 17:13:13
- chebake
- New Member
- Registered: 2011-09-09
- Posts: 4
Re: zem_contact_reborn 4.0.3.20
Sorry if this has been asked before – can’t seem to find it through the 106 pages.
I’m trying to do a very simple form but clicking on Send Article results in refreshing the page and wiping out all the fields. And, Send Article disappears.
<txp:zem_contact to="yaddayadda@blahlblah.com" thanks="Thank you, your message has been sent." label="Your Information">
<txp:zem_contact_text label="First Name" /><br><br>
<txp:zem_contact_text label="Last Name" /><br><br>
<txp:zem_contact_email /><br><br>
<txp:zem_contact_text label="Phone Number"/><br><br>
<txp:zem_contact_send_article />
</txp:zem_contact>
Something I missed?
I tried doing what ruud suggested here but that didn’t work out.
Last edited by chebake (2011-09-09 17:29:40)
Offline
#1061 2011-09-09 20:48:15
Re: zem_contact_reborn 4.0.3.20
@chebake: No need to read through 106 pages when you can find it in the plugin documentation ;)
<txp:zem_contact to="yaddayadda@blahlblah.com" thanks="Thank you, your message has been sent." label="Your Information" send_article="1">
<txp:zem_contact_text label="First Name" /><br><br>
<txp:zem_contact_text label="Last Name" /><br><br>
<txp:zem_contact_email send_article="1" /><br><br>
<txp:zem_contact_text label="Phone Number"/><br><br>
<input type="submit" value="Send" />
</txp:zem_contact>
<txp:zem_contact_send_article />
Last edited by ruud (2011-09-11 08:18:30)
Offline
#1062 2011-09-09 20:52:11
- chebake
- New Member
- Registered: 2011-09-09
- Posts: 4
Re: zem_contact_reborn 4.0.3.20
Yes yes, sorry should have mentioned that as well. Adding “send_article=1” makes the entire form disappear except for the Send Article button.
Clicking on the send article button shows the fields that were missing, but then the send article button disappears.
Offline
#1063 2011-09-09 21:51:03
Re: zem_contact_reborn 4.0.3.20
^^ that is how it’s supposed to work.
Offline
#1064 2011-09-09 21:59:51
- chebake
- New Member
- Registered: 2011-09-09
- Posts: 4
Re: zem_contact_reborn 4.0.3.20
Maybe I need to re-read the documentation.
Offline
#1065 2011-09-10 19:50:26
- chebake
- New Member
- Registered: 2011-09-09
- Posts: 4
Offline
#1066 2011-09-11 08:22:02
Re: zem_contact_reborn 4.0.3.20
One = correct
Two = correct, but it is missing a submit button. I’ve modified the code I posted a few posts back.
But… do you want to send an article to the person who is volunteering (which what your form is set up to do now) or is this supposed to be a contact form where the volunteer enters some personal information, which is sent to you by email through this contact form? In the latter case, you have to remove all the “send_article” stuff, so it becomes a regular contact form.
Offline
#1067 2011-09-14 02:28:01
- Rimfya
- Member
- Registered: 2007-11-22
- Posts: 31
Re: zem_contact_reborn 4.0.3.20
Any chance of this plugin getting an update for HTML5?
Offline
#1068 2011-09-14 02:49:30
Re: zem_contact_reborn 4.0.3.20
Are there any plans in baking a contact form directly into core?
…. texted postive
Offline