Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1297 2013-02-01 01:10:53

Rimfya
Member
Registered: 2007-11-22
Posts: 31

Re: zem_contact_reborn 4.0.3.20

Any reason why this won’t install on 4.5.4?

Edit: Got it, copy/pasted from the ‘gzipped’ version, instead of the other version. Play on.

Last edited by Rimfya (2013-02-01 01:17:26)

Offline

#1298 2013-02-08 09:56:34

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: zem_contact_reborn 4.0.3.20

Hello,
I’m getting an error when using a zem_contact_select tag with more than 9 items.
Testing my website on http://localhost/mywebsite/form I get redirected to http://www.localhost.com/mywebsite/form.
Depending on unknown conditions, I also get the ‘loading failed due to some reason’ blank page on Mozilla Firefox.

Thanks for any help

Offline

#1299 2013-02-08 12:02:20

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’s unlikely that this is caused by ZCR. Can you post the code you’re using (preferably both the one with less and the one with more than 9 items) and the exact error message you’re getting?

Offline

#1300 2013-02-08 12:59:00

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: zem_contact_reborn 4.0.3.20

Hi Ruud,
this is the code

<txp:zem_contact_select name="tipo_contratto" list=",Contratto a tempo determinato,Contratto a tempo indeterminato,Contratto di apprendistato,Contratto di inserimento,Contratto di lavoro a tempo parziale,Contratto di lavoro intermittente,Contratto di lavoro ripartito,Tipologie contrattuali a progetto e occasionali,Cassa integrazione guadagni ordinaria,Cassa integrazione guadagni straordinaria" label="Contratto" />

And this is the error I get, means something like ‘connection was cancelled’.

Thanks!

Offline

#1301 2013-03-24 16:58:44

Logolocos
New Member
Registered: 2012-07-30
Posts: 4

Re: zem_contact_reborn 4.0.3.20

Is it possible to encrypt the mail sent by ZCR by using the zemcontact.submit callback?
I need to encrypt the contents of ZCR $msg variable with gpg.
It’s possible to safely hack ZCR by adding a function ‘encrypt($msg)’ and calling this just before $msg is sent, but I prefer to use the callback if possible.

Offline

#1302 2013-03-24 20:20:13

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

^ not possible using the callback.

Offline

#1303 2013-03-24 22:44:56

Logolocos
New Member
Registered: 2012-07-30
Posts: 4

Re: zem_contact_reborn 4.0.3.20

Thanks for the answer, Ruud :-)

Offline

#1304 2013-03-30 10:27:14

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: zem_contact_reborn 4.0.3.20

why this – {Spam?}… appears into subject field than i receive an email message?

Offline

#1305 2013-03-30 22:53:03

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

@gallex, could be some kind of too strict anti-spam measure on a mail server which modifies the subject line.

Offline

#1306 2013-04-15 08:35:21

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

Re: zem_contact_reborn 4.0.3.20

Is it possible to automatically add the value of form fields to the subject of the generated email?

I use zcr in a booking form to capture first and last name:

<txp:zem_contact_text label="First name(s)" size="30" />
<txp:zem_contact_text label="Last name" size="30" />

At the moment my subject attribute only uses static text subject="Booking form". I would like that to arrive with a subject of “first name last name booking form”.

Any pointers would be much appreciated.

Offline

#1307 2013-04-16 15:39:54

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

See the plugin help page and use a subject form like this:

<txp:php>
  global $zem_contact_form;
  echo $zem_contact_form['First name(s)'] . ' ' . $zem_contact_form['Last name'] . ' booking form';
</txp:php>

Offline

#1308 2013-04-16 22:44:08

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

Re: zem_contact_reborn 4.0.3.20

Wonderful! Thank you so much Ruud!

Offline

Board footer

Powered by FluxBB