Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#751 2010-03-29 14:11:00
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
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 | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#754 2010-04-06 13:15:29
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
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
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
#757 2010-04-07 09:25:25
Re: zem_contact_reborn 4.0.3.20
The problem is that it has to be client-friendly; so no phpAdmin. I’m not good in PHP either, my skills just reach to editing. ;-)
That’s why I use TXP :-)
Last edited by Piru (2010-04-07 09:25:43)
Offline
#758 2010-04-07 10:09:16
Re: zem_contact_reborn 4.0.3.20
I didn’t understand if you want the data mailed or stored, but if you just want them stored (appended) in a csv file, you can write your own form and then use a scrip. A random google search gives me this example
Offline
#759 2010-04-07 12:13:52
Re: zem_contact_reborn 4.0.3.20
Hi Datorhaexa,
that’s about the only usefull script I found when Googling. It does exactly what I want, but it’s “standalone”.
The reason why I’m asking if there is a Textpattern (ZemContact or other) solution for this, is automation. It would be much easier for me to link it to a series of different events (articles), generating a CSV for each single event, by using ZemContact. Thus without having to program in PHP, a language I know little about.
I don’t know if I’m being clear?
I’ll try to explain a bit better: I have a client who wishes to hold seminars a couple of times a year. I was thinking about using articles as these seminars (events). The client wishes to have a .CSV/.XLS with bookings for each seminar (hence automated, located in a map on the server — no PHPmyAdminstuff, no interfernce of the developper).
Thus, I was just wondering if it was possible (i.e. maybe there is an extension to ZemContact I don’t know about) to export to CSV instead of mailing the form to the recepient address.
If not, I’ll try to use the above mentoined script. :) Thanks for the replies anyway!
Last edited by Piru (2010-04-07 12:15:12)
Offline
#760 2010-04-07 20:37:52
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: zem_contact_reborn 4.0.3.20
Any assistance would be greatly appreciated.
I hve used this plug in before, but on a new site I am developing, for some reason I am now unable to get the label and the field on the same line even if I use – break “”. Has anyone else had this problem?
progre55
Last edited by progre55 (2010-04-07 20:38:24)
Offline
#761 2010-04-07 21:02:31
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: zem_contact_reborn 4.0.3.20
Has anyone else had this problem?
Yes, TheEric/ebl and some more. (Edit: Different story. Nevertheless: Same solution viable.)
Remedy: Cut it out. I think among my last 50 posts or so are more than 20 where I link to Jukka’s rah_replace :)
Last edited by uli (2010-04-07 21:07:13)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#762 2010-04-08 12:14:17
Re: zem_contact_reborn 4.0.3.20
Piru,
Postmaster lets you export a tab delimited text file from the extensions tab.
In the postmaster extension you can create a unique list for each event and add a drop-down of event-names to your registration form.
Or, if you want a specific registration form for each event run by your client, include the registration form in the same article with the following line:
<txp:zem_contact_secret name="zemSubscriberLists" label="list name" value="puteventnamehere" />
Offline
#763 2010-04-08 13:53:26
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: zem_contact_reborn 4.0.3.20
Uli:
Thanks.
progre55
Offline
#764 2010-04-08 14:43:29
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Re: zem_contact_reborn 4.0.3.20
colak wrote:
ricoschette wrote:
Or is there another solution for image/file upload in TXP forms?
did you check Steve’s Anonymous File Upload?
Yes, but he said that it can’t be done what I need :(
So, all suggestions are welcome!
Last edited by ricoschette (2010-04-08 14:44:40)
Offline
#765 2010-04-10 16:45:22
- sereal
- Member

- From: Indonesia
- Registered: 2010-02-18
- Posts: 55
Re: zem_contact_reborn 4.0.3.20
hi,
I try to use this plugin on my site but it seems not working :(
I put this ZCR on a pageslide section – using jQuery Pageslide from this website: srobbin pageslide
I have no idea what is wrong
I use these tags
<txp:zem_contact to="mymail@gmail.com" thanks="Thank you" label="">
<txp:zem_contact_serverinfo name="REMOTE_ADDR" label="IP number" />
<txp:zem_contact_serverinfo name="HTTP_USER_AGENT" label="Browser" />
<txp:zem_contact_text label="Name" /><br />
<txp:zem_contact_email /><br />
<txp:zem_contact_select label="Subject" list=",Question,Comment" /><br />
<txp:zem_contact_textarea label="Message" /><br />
<txp:zem_contact_submit label="Send" />
</txp:zem_contact>
when I view the source It shows me like this:
<form method="post" id="zcr0e64dc7ff8c7785e6ca2effa72d66e10" class="zemContactForm" action="/kontak/#zcr0e64dc7ff8c7785e6ca2effa72d66e10">
is there something wrong with my setting ?
my Send button does nothing when I click it
Last edited by sereal (2010-04-10 22:28:07)
$(mydocument).notyetready(function() {});
dowebsitesneedtolookexactlythesameineverybrowser ?
Offline