Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#406 2008-08-28 05:55:48

weber
New Member
Registered: 2008-06-08
Posts: 8

Re: zem_contact_reborn 4.0.3.20

Hi Steve! Thanks for your help – you’re a cornerstone of the TXP community. =)

Running on TXP version: 4.0.6 (r2805).

Custom field is actually ‘Email’ (capitalised).

Cheers.

Offline

#407 2008-08-28 06:54:34

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: zem_contact_reborn 4.0.3.20

weber

AFAIK, the parser re-write didn’t go in the code till r2860 — so it’s no wonder your first example (with the correct field name) isn’t working! The second example is probably failing due to the wrong capitalization (but I’ve not tried it).

Try updating your files from svn and giving the first one another chance.


Steve

Offline

#408 2008-08-28 11:01:19

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

Re: zem_contact_reborn 4.0.3.20

Probably less work (and risks) to apply asy_wondertag.


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

Offline

#409 2008-08-28 12:21:39

weber
New Member
Registered: 2008-06-08
Posts: 8

Re: zem_contact_reborn 4.0.3.20

Thanks Steve – wasn’t sure when parsing was added.

And, wow… Thanks Uli! Hadn’t come across wondertag before. It works! Very quick to set up.

Used it wrapped around the whole zem_contact form like this:

<txp:asy_wondertag><txp:zem_contact to="<txp:custom_field name="Email" />" subject="Enquiry from website" label=""> ... rest of form... </txp:zem_contact></txp:asy_wondertag>.

Thanks!

Offline

#410 2008-08-28 14:48:26

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: zem_contact_reborn 4.0.3.20

Maniqui, thanks! so much for the hint (chs_if_urlvar) .. i remembered there was a plugin i could use but did forget the name.. however it works like a charme :)

BTW i changed the zem_contact_lang for a bilingual use of the ZCR plugin (german, engl.) according to Els´s post here. No idea if there are better solutions available, if not, i can post the txt file to the ones interested.

Offline

#411 2008-08-28 16:10:58

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,217
Website GitHub

Re: zem_contact_reborn 4.0.3.20

Hi alex, robert/wet has already done that.


TXP Builders – finely-crafted code, design and txp

Offline

#412 2008-08-28 16:23:24

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: zem_contact_reborn 4.0.3.20

jakob

True, but that’s a mono-lingual one (in German.) I think Alex is after a bi-lingual solution.

Alex

I guess using the MLP Pack is out of the question for your site?

If you are willing to use it, you don’t need to use the section-as-language trick — I can provide zem_contact_reborn_lang string-sets for both English and German.


Steve

Offline

#413 2008-08-29 05:22:47

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: zem_contact_reborn 4.0.3.20

Hi jakob, hi net-carver,

ya, wet´s langugae file is “only” in german. I was after a bilingual solution. The MLP pack is too comprehensive for a just 4 field contactform on a more or less german site.

net-carver: i would be happy if you could send me your string sets (engl – ge).

Offline

#414 2008-08-29 05:38:28

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: zem_contact_reborn 4.0.3.20

Alexandra

I can do that but you’ll only be able to import them into an MLP Pack site. The German strings I have are taken from Wet’s plugin so if you’re not using the MLP Pack emailing this stuff to you won’t gain you anything.

Last edited by net-carver (2008-08-29 09:45:43)


Steve

Offline

#415 2008-08-29 09:04:50

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: zem_contact_reborn 4.0.3.20

Anyone think of a way to change the subject line of the sent email everytime the form is used? Gmail is grouping all emails from the form together and it’s becoming a problem to manage.

I was thinking of incrementally adding a a number to it, but haven’t managed to figure out a way to do it so far.

Best wishes
Lee

Offline

#416 2008-08-29 10:08:07

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

Lee, you could use the rvm_counter plugin in the subject_form of zem_contact

Offline

#417 2008-08-29 10:16:00

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: zem_contact_reborn 4.0.3.20

Hi Rudd, never used that one before, can see it could be quite useful though. But in this instance using it within the zem_contact tag doesn’t work.

Thanks
Lee

Offline

#418 2008-08-29 10:27:21

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

It does work (in fact, it was originally writting for this purpose). Create a form called zcr_subject. Fill that with the subject title and <txp:rvm_counter />, then use <txp:zem_contact subject_form=“zcr_subject” />. This will send out emails with an incrementing number in the subject.

Offline

#419 2008-08-29 11:13:15

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: zem_contact_reborn 4.0.3.20

Cheers Rudd, I’ll give it a go. Thanks and have a good weekend.

Offline

#420 2008-08-29 16:40:15

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: zem_contact_reborn 4.0.3.20

Ruud

thanks — just tried it and it works very well for me.


Steve

Offline

Board footer

Powered by FluxBB