Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: zem_contact_reborn 4.0.3.20
Is there any way to override zem_contact send_article so that it always sends the whole article and not an extract (if it exists?)
Edit the plugin code and replace this line:
$msg[] = trim(strip_tags(str_replace($s_ar,$r_ar,(trim(strip_tags($thisarticle['excerpt'])) ? $thisarticle['excerpt'] : $thisarticle['body']))));
with:
$msg[] = trim(strip_tags(str_replace($s_ar,$r_ar, $thisarticle['body'])));
Offline
Re: zem_contact_reborn 4.0.3.20
Thanks Ruud for the quick reply. I’ve tried to convince them to upgrade from 4.0.3. I know it’s important. I’ll try again.
The form sends with your adjustment. It also gives the proper error notice if I don’t submit an email address. But, it doesn’t give the Message Sent confirmation. It’s not essential, but if it’s an easy fix.
thanks again.
Offline
Re: zem_contact_reborn 4.0.3.20
I don’t see any function calls between the sending of mail and the thanks message that would give problems with TXP 4.0.3. Post your ZCR form code here. Are you using a thanks_form or a redirect or is the thanks attribute set to an empty string? Does the resulting (empty) thanks page contain ‘zemThanks’ in the HTML somehere?
Offline
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
Re: zem_contact_reborn 4.0.3.20
Patrick,
<txp:zem_contact to_form="mytoform" ...
mytoform:
<txp:custom_field name="FieldName" />
Offline
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
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
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
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
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
Re: zem_contact_reborn 4.0.3.20
It’s not clear to me whether this plugin supports to="addressOne
tld.com,addressTwo.tld.com” @
Can anyone confirm whether I can do this?
Last edited by mrdale (2007-11-27 20:10:23)
Offline
Re: zem_contact_reborn 4.0.3.20
That is supported. The “to” address is fed directly to the PHP mail
function.
Offline