Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1129 2012-02-01 14:53:17

castanet
Member
From: Oxford
Registered: 2005-03-19
Posts: 97

Re: zem_contact_reborn 4.0.3.20

This is probably simpler than I think it is, but all my articles have a contact form and I want the subject line to be the title and/or the id of the article.

I have tried <txp:zem_contact to=“me@home.co.uk” subject=”<txp:page_title />” label=”“> but to no avail.

This isn’t to send articles to other recipients, just to me.
Thanks in advance for any guidance.

Offline

#1130 2012-02-01 14:59:23

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

Re: zem_contact_reborn 4.0.3.20

That’s the same issue as two posts above: use single quotes around nested TXP tags.


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

Offline

#1131 2012-02-17 17:23:21

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

Re: zem_contact_reborn 4.0.3.20

I think I solved the favicon.ico problem that I found using with zem_contact_reborn and MLP.
I changed ZCR plugin here at line 286:

return '<form ... action="#zcr'.$zem_contact_form_id.'">'

That was:

return '<form ... action="'.htmlspecialchars(serverSet('REQUEST_URI')).'#zcr'.$zem_contact_form_id.'">'.

In the second case page links to favicon.ico (or first link of document).
Ex: if I remove favicon.ico link in the <head> the form actions to a javascript file.

Can someone tell me if I’ve done the right move :)
Thanks

Offline

#1132 2012-02-17 19:59: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 think the HTML code ZCR generates is valid. I wonder what happens to links like this <a href="#anchor"> when using MLP (if it is indeed the interaction with MLP that triggers this issue).

Offline

#1133 2012-02-24 09:00:48

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

Re: zem_contact_reborn 4.0.3.20

(if it is indeed the interaction with MLP that triggers this issue)

I’m sure!
But in MLP not seem to effect #links…
This problem is a nightmare for me. Many clients ask for multi lang site!
I appreciate any help!

Offline

#1134 2012-03-08 09:12:42

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: zem_contact_reborn 4.0.3.20

Hey guys,

Using this code in a form (for email subject):

$zem_contact_form['Date']

Is there any way to change the date format from MM/DD/YYYY to DD/MM/YYYY?

Can it be wrapped in something to change it?

Edit: Done.

date("d/m/Y", strtotime($zem_contact_form['Date']))

Last edited by rossharvey (2012-03-08 09:45:19)

Offline

#1135 2012-03-11 22:25:24

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: zem_contact_reborn 4.0.3.20

The plugin delivers input as an email in the form of Label: input value separated by an empty line between entries.

Is there any way to modify the output to generate a CSV file that could be opened in Excel?

Offline

#1136 2012-03-12 01:04:52

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

Re: zem_contact_reborn 4.0.3.20

This is one of my plans to modify the plugin, allowing for the use of replacement variables as in smd plugins and a form for the email template. But I must admit that it’s low on my list of priorities.

Offline

#1137 2012-03-12 01:18:32

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: zem_contact_reborn 4.0.3.20

Is there any way to modify the output to generate a CSV file that could be opened in Excel?

I needed this functionality and ended up using MachForm for it. Worked great, so if it’s really important to you, you might give that a try.

Offline

#1138 2012-03-12 18:46:15

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: zem_contact_reborn 4.0.3.20

Anura, sounds like a great idea. Perhaps others would chip in since zem_contact_reborn is such a crucial Txp plugin.

Marc, thanks for this, it looks very capable!

Offline

#1139 2012-03-13 08:13:49

phuture303
Member
Registered: 2008-09-14
Posts: 127

Re: zem_contact_reborn 4.0.3.20

maruchan schrieb:

using MachForm

+ 1 for Matchform, if someone is willing to pay. Works perfectly, administration is easy-going, very customizable via CSS.

Version 3.0 is out now, haven’t tested it yet – but I’m sure it’s still worth the money, although the admin panel looks like a candyshop…

Offline

#1140 2012-03-13 09:04:21

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 535

Re: zem_contact_reborn 4.0.3.20

omg my eyes! How on earth did the author choose such a colour scheme. Other than that the admin interface is very user friendly.

Offline

Board footer

Powered by FluxBB