Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#745 2010-03-23 11:32:33

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

Re: zem_contact_reborn 4.0.3.20

Cheers Ruud !


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

#746 2010-03-24 15:45:07

lreynolds
Member
From: Burlington, ON, Canada
Registered: 2007-02-09
Posts: 30
Website

Re: zem_contact_reborn 4.0.3.20

gerhard wrote:

It might not be related, but check this post

I tried making those changes to the plugin, but still the same thing.

I’m not sure what else to look at.

Offline

#747 2010-03-24 18:27:42

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

Les, the changes Gerhard suggests are not necessary and don’t fix any problem.

Even though your contact form is located at http://www.almex.com/en/contact/, according the REQUEST_URI variable (which ZCR looks at), the form is located http://www.almex.com/contact. This mismatch is the cause for the malfunction. I suspect this is indeed related to MLP.

You can workaround the problem by editing the ZCR plugin. Search for this part of the code:

action="'.htmlspecialchars(serverSet('REQUEST_URI')).'#zcr'.$zem_contact_form_id.'"

and replace it with:

action="#zcr'.$zem_contact_form_id.'"

Offline

#748 2010-03-24 19:52:19

lreynolds
Member
From: Burlington, ON, Canada
Registered: 2007-02-09
Posts: 30
Website

Re: zem_contact_reborn 4.0.3.20

That seems to work great. Thanks for the help.

Offline

#749 2010-03-24 21:06:57

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: zem_contact_reborn 4.0.3.20

lreynolds wrote:

Once you hit the Send button, the page just refreshes and no email is sent. I’m running 4.2.0, ZCR 4.0.3.20 and ZCR-lang-mlp 4.0.3.6-ML

I don’t think it’s MLP related. I’m running the same setup and the only ‘downside’ is that after hitting ‘send’ the URL changes from site.com/en/about/ to something like site.com/about/#zcra84633a91e9aa036ff1d5968dafba0ff, so the language marker disappears; but it’s still showing the right page and thank you message in the right language, and the email is sent.

Offline

#750 2010-03-25 09:13:37

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

That’s similar to what happens on the website Les is working on, but when the form is submitted to the URL without the language marker, his webserver redirects (HTTP 301) to an URL that does contain the language marker. Due to the redirect the POST information of the form gets lost and the effect is that ZCR doesn’t notice that the form is submitted, because you’re basically just loading the contact page again. If MLP doesn’t cause the redirect and incorrect REQUEST_URI, what does… another plugin?

Offline

#751 2010-03-29 14:11:00

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

Re: zem_contact_reborn 4.0.3.20

Running PHP 5.3.1 on my test server and zem_contact_select throws a Function split() is deprecated on line 538
This might need some fixing.

Offline

#752 2010-04-04 18:15:22

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: zem_contact_reborn 4.0.3.20

Is it possible to make image/file upload within this form?

<input type=“file” id=“image” name=“image” />

I know that the form must have different encoding type like “multipart/form-data”, too.

Or is there another solution for image/file upload in TXP forms?

Offline

#753 2010-04-04 18:28:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,870
Website GitHub Twitter

Re: zem_contact_reborn 4.0.3.20

ricoschette wrote:

Or is there another solution for image/file upload in TXP forms?

did you check Steve’s Anonymous File Upload?


Yiannis
——————————
neme.org | hblack.net | EMAP | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#754 2010-04-06 13:15:29

Piru
Member
From: Antwerp, Belgium
Registered: 2008-06-03
Posts: 17
Website

Re: zem_contact_reborn 4.0.3.20

I’ven been searching for a solution that let’s you export the data that users insert in the forms to an .xls or .csv with Zem_Contact. I don’t seem to find anything when asking Google. Has anyone got any idea?

Offline

#755 2010-04-06 13:19:55

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,368
Website

Re: zem_contact_reborn 4.0.3.20

It’s a little involved but you could use mem_simple_form and mem_form (which works almost identically to zcr) to save the form data to a custom database (which you need to set up manually – or alternatively to txp articles). You can then either export this directly from the database to csv/xls using phpmyadmin or output it again in as a .csv file using smd_query to read the custom database (or txp:article if you stored the data in txp articles).


TXP Builders – finely-crafted code, design and txp

Offline

#756 2010-04-06 13:58:31

catnip
Member
From: Sydney Australia
Registered: 2006-07-29
Posts: 56
Website

Re: zem_contact_reborn 4.0.3.20

You can use mem_postmaster to collect the data inserted in the form fields.

In your form assign a custom number to each form field, e.g.:

<txp:zem_contact_textarea label="" cols="60" required="1" default="What do you think about my work?" name="zemSubscriberCustom3" break=""/> 

Then export just like @jakob suggested

Offline

Board footer

Powered by FluxBB