Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#721 2010-01-11 18:04:26

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: zem_contact_reborn 4.0.3.20

Once or twice I’ve seen it happen that adding a from attribute with the same email address as the to address as value to the zem_contact tag made it work. Can’t remember in which context, so I don’t know if it could help you. But it’s worth a try.
If it doesn’t help, can you be more specific about ‘not working’? Do you get any error messages, or what exactly happens when you click the submit button?

Offline

#722 2010-01-12 07:14:08

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: zem_contact_reborn 4.0.3.20

I gave Dave a hand with this, the problem were the ps calls rather than gps. Full diff

Is this version working for other people btw? From what I saw, in the original state, the plugin shouldn’t be working.

Last edited by gerhard (2010-01-12 07:16:30)

Offline

#723 2010-01-12 07:40:03

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

Gerhard, the form is submitted using a POST request, so it should be ps(), not gps().
If the plugin wasn’t working in it’s original state, I suspect someone would have noticed that in this forum topic that now contains over 730 posts ;)

Offline

#724 2010-01-12 07:48:39

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: zem_contact_reborn 4.0.3.20

That’s not what I’m seeing for v4.0.3.20 in Dave’s case. Even though the form does specify method="post" data is sent via GET. Try it.

Is there something in the LAMP stack that can force POST requests to GET?

Also, gps() is like a fallback, I see no reason why you wouldn’t want to use it over ps().

Offline

#725 2010-01-12 10:18:41

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

I suspect it’s caused by invalid XHTML on the website. Try fixing that first.
The GET request happens on the client side, so it has to be something in the XHTML code that causes it.
ps() exists for a reason. I use it because it’s more appropriate to use it in ZCR than gps().

Offline

#726 2010-01-28 16:45:37

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: zem_contact_reborn 4.0.3.20

I’ve got the same problem. The form seems to be sent, but i get no email.
I don’t know where it stops.
I can’t resolve this issue. Can someone help me?

Offline

#727 2010-01-28 17:06:03

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

Edoardo, if you create a new TXP user, does an email get sent to that user?
If you have access to mail server log files, can you see if there was an attempt to send email and if so, why it failed?

Offline

#728 2010-01-29 10:37:28

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: zem_contact_reborn 4.0.3.20

Ruud,
I have requested the logs to the administrator. They said everything is fine and now it works!
Something has changed, of course …
Thanks

Offline

#729 2010-02-07 16:00:37

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: zem_contact_reborn 4.0.3.20

Hi,

I am trying to submit my ZCR form using mootools and get the response in a modal window. I am using form.send() and am receiving a response back, however the response seems to be the form mirrored back. I am expecting the server side validation error messages yet it is behaving as if i didn’t submit the empty form.

If I manually click the submit button I get the validation errors as expected. Does anybody know why a blank form submitted mootools ajax style using form.send() (like this: http://demos.mootools.net/Form.Send) would not be responding with any errors?

Kind regards,
Mike

Offline

#730 2010-02-08 21:45:22

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: zem_contact_reborn 4.0.3.20

Hi,

Perhaps I am being stupid. If it was that easy to submit a form to the server and receive a response, it would defeat the object of a secure contact form.

I’ve managed to post the request via ajax but it is ignored by the server. I suppose that is the expected behaviour, given my request doesn’t submit the content length like the form does.

Unless anyone has any ideas I will have to use a more primitive method to post mail via ajax from a modal window.

Kind regards,
Mike

Offline

#731 2010-02-08 22:41:58

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: zem_contact_reborn 4.0.3.20

There is an older topic about this here. None of the links in that thread seem to work though…

Offline

#732 2010-03-03 15:46:55

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: zem_contact_reborn 4.0.3.20

Hi,

I’m putting together a generic booking form using ZCR and wanted to see if I could dynamically add the event name to the email heading -
<txp:zem_contact to="emailaddress" subject="Booking request for '<txp:title />' ">

Of course this code doesn’t work and I couldn’t find anything in the forums, is it possible to do? Any advise welcomed.

Last edited by decoderltd (2010-03-03 16:04:13)

Offline

Board footer

Powered by FluxBB