Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#805 2010-06-22 10:25:28

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: zem_contact_reborn 4.0.3.20

i find solution:
just go to plugin->edit (zem_contact)

and find this code:

 return '<label for="'.$name.'" class="zemText '.$zemRequired.$isError.' '.$name.'">'.htmlspecialchars($label).'</label>'.$break.

and

return '<label for="'.$name.'" class="zemTextarea '.$zemRequired.$isError.' '.$name.'">'.htmlspecialchars($label).'</label>'.$break.

delete $break.

Last edited by Katalonian (2010-06-22 10:25:55)


<txp:txp_me />

Offline

#806 2010-06-22 13:20:30

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

Ziya, you don’t have to edit the plugin, just set the attribute break="" on the corresponding ZCR tags.

Offline

#807 2010-06-22 18:56:40

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: zem_contact_reborn 4.0.3.20

lol) ok, i try)))


<txp:txp_me />

Offline

#808 2010-07-06 16:47:32

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: zem_contact_reborn 4.0.3.20

Why every messages which sended from this form goes to spam? i use gmail


<txp:txp_me />

Offline

#809 2010-07-06 17:15:34

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

Ask gmail. I don’t know which spamfiltering criteria they use.

Offline

#810 2010-07-06 18:07:29

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: zem_contact_reborn 4.0.3.20

Katalonian wrote:

Why every messages which sended from this form goes to spam? i use gmail

I used to get the same result. I guess that it is the standardised email subject. I just marked them as non spam for a few days and now it is just fine.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#811 2010-07-08 15:43:22

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: zem_contact_reborn 4.0.3.20

I am working on a really basic order form using ZCR. There are two products in the form and both use zem_contact_text fields to specify the quantity requested. I decided to use the jquery calculation plugin to calculate and display the total cost (based on the quantities entered in the form). The total shows up in the DOM inside this table cell: <td align=“right” id=“grandTotal”> </td>

Now I can’t figure out how to get the total to pass into the email that is sent to me and copied to sender. The total isn’t in an input field and it is calculated on the fly with javascript as the quantities change (before the form is submitted). I tried using zem_contact_secret as a container to capture it, but that obviously didn’t work (I didn’t really expect it to). I am in over my head and this might not be an appropriate question for this forum, but I thought I’d go for it in case anyone else has a similar issue trying to pass something like this into a ZCR form.

Offline

#812 2010-07-08 16:11:25

datorhaexa
Member
From: Düsseldorf, Germany
Registered: 2005-05-23
Posts: 115
Website

Re: zem_contact_reborn 4.0.3.20

Hi there! Not sure if this can help, but I threw a google search and gave me this

As far as I see, he passes a hidden value along so maybe you can use the method.

Offline

#813 2010-07-08 17:00:18

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

zem_contact_secret won’t help you, because that is completely hidden from the client side.

You could use a zem_contact_text field and store the value in there. Using CSS and Javascript, you can either hide the field (display:none) or make it read-only (for the user).

Offline

#814 2010-07-08 17:19:16

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Re: zem_contact_reborn 4.0.3.20

zem_contact_secret is hidden on the screen, but shows in the mail.

Offline

#815 2010-07-08 17:22: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 know it does, but you can’t use it to pass information that is generated on the client side.

Offline

#816 2010-07-08 17:38:16

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Re: zem_contact_reborn 4.0.3.20

Sorry, I didn’t tell all my thoughts :) What I meant was :
  • using forms areas for the quantities
  • using any container to display the result
  • using the secret field to store and send the result in the mail (but it may be where I’m wrong)

Last edited by CeBe (2010-07-08 17:39:22)

Offline

Board footer

Powered by FluxBB