Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#736 2010-03-05 19:50:59

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

Re: zem_contact_reborn 4.0.3.20

That works perfectly and now I have a really neat generic booking form that can used for any event. Thank you for your help Ruud.

If you don’t mind I’ll forward the code to Mr Stubbs for possible inclusion on TXP TIPS, it might be useful for the general community.

Offline

#737 2010-03-07 17:46:43

Leithen
Member
From: Scotland
Registered: 2006-02-05
Posts: 24

Re: zem_contact_reborn 4.0.3.20

I’m attempting to experiment with HTML5 – what would be the easiest way to include the placeholder attribute and different input types to the various input forms?

Offline

#738 2010-03-07 21:21:42

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

Christian, edit the plugin code or use javascript (a variation on this script could easily do it. Instead of filling the value attribute with the placeholder attribute, you can do it the other way around. Same effect)

Offline

#739 2010-03-07 22:14:45

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: zem_contact_reborn 4.0.3.20

Always worth a try: rah replace.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#740 2010-03-08 15:27:51

Leithen
Member
From: Scotland
Registered: 2006-02-05
Posts: 24

Re: zem_contact_reborn 4.0.3.20

Ruud, Uli, thanks for the pointers – I’ll dive into each and see which makes the most sense. (My php skills are not what they should be….)

Offline

#741 2010-03-17 19:27:31

lreynolds
Member
From: Burlington, ON, Canada
Registered: 2007-02-09
Posts: 30
Website

Re: zem_contact_reborn 4.0.3.20

I’m having trouble with ZCR on a site with MLP. Not sure of the best place to post. I think the contact form stopped working after I installed MLP, but that was a long time ago, and I just noticed it not working now.

Once you hit the Send button, the page just refreshes and no email is sent. I’m running 4.2.0, ZCR 4.0.3.20 and ZCR-lang-mlp 4.0.3.6-ML

You can view the page here – http://www.almex.com/en/contact/

Offline

#742 2010-03-17 19:33:44

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

Re: zem_contact_reborn 4.0.3.20

It might not be related, but check this post

Offline

#743 2010-03-22 20:41:27

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

Re: zem_contact_reborn 4.0.3.20

Moved from “How do I” to here…

As simple as that:

Does anyone know how to add Bcc recipients using Zem Contact Reborn ?

Thanks !


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

#744 2010-03-22 22:15:50

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

Guillaume, see this post and the response that follows.

Offline

#745 2010-03-23 11:32:33

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

Re: zem_contact_reborn 4.0.3.20

Cheers Ruud !


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

#746 2010-03-24 15:45:07

lreynolds
Member
From: Burlington, ON, Canada
Registered: 2007-02-09
Posts: 30
Website

Re: zem_contact_reborn 4.0.3.20

gerhard wrote:

It might not be related, but check this post

I tried making those changes to the plugin, but still the same thing.

I’m not sure what else to look at.

Offline

#747 2010-03-24 18:27:42

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

Les, the changes Gerhard suggests are not necessary and don’t fix any problem.

Even though your contact form is located at http://www.almex.com/en/contact/, according the REQUEST_URI variable (which ZCR looks at), the form is located http://www.almex.com/contact. This mismatch is the cause for the malfunction. I suspect this is indeed related to MLP.

You can workaround the problem by editing the ZCR plugin. Search for this part of the code:

action="'.htmlspecialchars(serverSet('REQUEST_URI')).'#zcr'.$zem_contact_form_id.'"

and replace it with:

action="#zcr'.$zem_contact_form_id.'"

Offline

#748 2010-03-24 19:52:19

lreynolds
Member
From: Burlington, ON, Canada
Registered: 2007-02-09
Posts: 30
Website

Re: zem_contact_reborn 4.0.3.20

That seems to work great. Thanks for the help.

Offline

#749 2010-03-24 21:06:57

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

Re: zem_contact_reborn 4.0.3.20

lreynolds wrote:

Once you hit the Send button, the page just refreshes and no email is sent. I’m running 4.2.0, ZCR 4.0.3.20 and ZCR-lang-mlp 4.0.3.6-ML

I don’t think it’s MLP related. I’m running the same setup and the only ‘downside’ is that after hitting ‘send’ the URL changes from site.com/en/about/ to something like site.com/about/#zcra84633a91e9aa036ff1d5968dafba0ff, so the language marker disappears; but it’s still showing the right page and thank you message in the right language, and the email is sent.

Offline

#750 2010-03-25 09:13:37

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

That’s similar to what happens on the website Les is working on, but when the form is submitted to the URL without the language marker, his webserver redirects (HTTP 301) to an URL that does contain the language marker. Due to the redirect the POST information of the form gets lost and the effect is that ZCR doesn’t notice that the form is submitted, because you’re basically just loading the contact page again. If MLP doesn’t cause the redirect and incorrect REQUEST_URI, what does… another plugin?

Offline

Board footer

Powered by FluxBB