Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2007-11-17 10:09:08

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,675
GitHub Twitter

Re: zem_contact_reborn 4.0.3.20

Hi guys,

Sorry to break your topics… but I have a [big] problem with the use of “to_form” attribute into ZCR_Reborn. I’d read all the topic about all version of ZCR. I think I’m a [very] bad TXP user :(

So here is the problem :

I have a page named “contact” (it’s a good start, no? :) without any article tag (strange idea, no?) !!!
I create an article associated to this page and use a custom_field to store the address e-mail.
I use a delfault ZCR form with to_form=“my_form”. This to_form(misc type) call my address custom_field. Obviously, this don’t work at all.
I had try a lot of solutions : txp:php call into zem_contact form ; the use of an article to store ZCR form ; mysql request to find my custom_field and so on…

Could you help me just a little? :)

Tks lot!

Signed : a TXP idiot user.

Last edited by Pat64 (2007-11-17 10:09:34)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#77 2007-11-17 12:36:25

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

Patrick,

<txp:zem_contact to_form="mytoform" ...

mytoform:

<txp:custom_field name="FieldName" />

Offline

#78 2007-11-17 17:33:35

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,675
GitHub Twitter

Re: zem_contact_reborn 4.0.3.20

Yes ruud, I try this…but that’s don’t work…and I can’t understand why. Is this because I haven’t any txp:article tag into my page?

Last edited by Pat64 (2007-11-17 17:34:00)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#79 2007-11-17 18:27:53

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

Yes, that could be the problem if you’re on a section/category page, instead of on an individual article page.

Offline

#80 2007-11-22 20:38:24

giz
Plugin Author
From: New Zealand
Registered: 2004-07-26
Posts: 431
Website GitHub Twitter

Re: zem_contact_reborn 4.0.3.20

Following on from my post initiated on page 7 – the emails are still not getting through.

Is there a way for me to debug the SMTP connection i.e. some sort of trace as to what happens with the SMTP connection from zem_contact_reborn? The server error logs I have access to are clean (its the first place I looked). A show_error=“1” attribute leaves me none-the-wiser…

Thanks.

Last edited by giz (2007-11-22 20:40:10)

Offline

#81 2007-11-22 21:09:04

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

Gary, you need the help of your webhost to debug this. Have them look at the mail server log files to see what happens to the emails that ZCR/PHP sends. The actual SMTP connection is outside the view of ZCR; that’s between PHP and the mailserver… or even one step further.

Offline

#82 2007-11-22 22:41:46

giz
Plugin Author
From: New Zealand
Registered: 2004-07-26
Posts: 431
Website GitHub Twitter

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

Gary, you need the help of your webhost to debug this. Have them look at the mail server log files to see what happens to the emails that ZCR/PHP sends. The actual SMTP connection is outside the view of ZCR; that’s between PHP and the mailserver… or even one step further.

Thanks Ruud – will do. I’ll be firm ;)

Offline

#83 2007-11-27 20:09:16

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: zem_contact_reborn 4.0.3.20

It’s not clear to me whether this plugin supports to="addressOnetld.com,addressTwo.tld.com” @

Can anyone confirm whether I can do this?

Last edited by mrdale (2007-11-27 20:10:23)

Offline

#84 2007-11-27 20:57:06

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 is supported. The “to” address is fed directly to the PHP mail function.

Offline

#85 2007-11-27 21:05:28

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: zem_contact_reborn 4.0.3.20

Rudd, regarding the thanks confirmation on 4.0.3

It’s working with a redirect. And that’s fine for my purposes.
No need to trouble you with this legacy issue. Thanks for all your work for textpattern!

It wasn’t working with the thanks attribute set or left out for the default. The rest is all standard. No forms or anything:

<txp:zem_contact to="name@address.com" subject="Web Contact" redirect="about/thanks" label="" >
<txp:zem_contact_text label="name" /><br />
<txp:zem_contact_email /><br />
<txp:zem_contact_checkbox label="Sign-up for Newsletter?" required="0" /><br />
<txp:zem_contact_textarea label="comment" required="no" cols="30" rows="3" /><br />
<txp:zem_contact_submit label="send" />
</txp:zem_contact>

Offline

#86 2007-11-29 19:02:26

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: zem_contact_reborn 4.0.3.20

Is there possibility how to use my own values in zem_contact_select? Something like:

<txp:zem_contact_select label=“Department” list=”,Marketing,Sales,Support” value=”,25,45,39” />

I tried to hack plugin and I got my values in HTML, so eg. <option value=“25”>Marketing</option> but on submit appered an error.

Offline

#87 2007-11-29 19:46:55

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: zem_contact_reborn 4.0.3.20

2 beztak
Try to use javascript :)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#88 2007-11-29 19:54:48

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: zem_contact_reborn 4.0.3.20

the_ghost wrote:

Try to use javascript :)

Any idea how to do that?

Offline

#89 2007-11-29 20:01:02

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

Do you want to use “Marketing,Sales,Support” on your website, but use “25,45,39” in the email that is sent?

Offline

#90 2007-11-29 20:04:33

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

Do you want to use “Marketing,Sales,Support” on your website, but use “25,45,39” in the email that is sent?

Exactly.

Offline

Board footer

Powered by FluxBB