Textpattern Forum

You are not logged in. Register | Login | Help

#1161 2012-04-26 16:01:14

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 1,891
Website

Re: zem_contact_reborn 4.0.3.20

Placeholder attribute…

I also have a modded version of zcr with placeholder support. Mail me if you’d like a copy.

Form results displaying on confirmation page: I still would like to do this, and I’m hoping it won’t require too much beyond my limited understanding of PHP. Is there a way to output the contents of the $msg array in the thanks_form I’m using

As far as I remember, these are passed as POST variables to the thanks page, so you should be able to retrieve them with adi_gps or rah_gps and output them on the page. If you call up your form in Firefox and open up Firebug on the Net/Network pane and “All” sub-menu, then send your form, you’ll see a whole load of POST and GET requests appear in the firebug pane. Open the twister arrow next to POST #zcr… entry, then switch to the Post tab and you’ll see a list of post variable names. Try using these for adi_gps/rah_gps and then output the resulting txp variables on your page…


TXP Builders – finely-crafted code, design and txp

Offline

#1162 2012-05-11 10:17:52

rossharvey
Member
From: Norwich, UK
Registered: 2005-03-16
Posts: 201
Website

Re: zem_contact_reborn 4.0.3.20

I’m trying to pull the contents of the contact form (on the redirect thanks page) to pump them into a database (and display).

While I can see the form contents via jakob’s idea above (albeit using Chrome’s dev. tools), I can’t seem to grab the variables!

I’ve tried adi_gps and PHP ($_REQUEST, $_GET and $_POST).

Any ideas?

Edit: FIxed.

The redirect was the issue. Used a thanks_form instead, and $_REQUEST.

Last edited by rossharvey (2012-05-11 10:49:32)

Offline

#1163 2012-05-30 15:20:56

gkhillboro
New Member
Registered: 2012-05-30
Posts: 1

Re: zem_contact_reborn 4.0.3.20

Hi Guys, I hope you can help me. I have been thrown in at the deep end with a job for a client that uses TXP, which I am not familiar with. I have tried to find documentation for the related plugin and searched these forums, with no success.

We want a contact form on the contact page that has room for name, email, telephone and a dropdown selectable date.

Zem Contact Reborn plugin is already installed on TXP that is being used on the site. So my question is two-fold:

All the documentation I can find relates to installing plugins… nowhere can I find information about how to implement the plugin within an article (eg at the bottom of the contact page)….

- Firstly, How do I call the plugin into the article to show a contact form on the frontend page?
I’ve tried some <txp:contact_form_email> type tags in the article but no luck.

- How do I choose which form elements to display on the page, and also to what email address the contents of the form are subsequently sent?

Thank you very much guys!

Greg

Offline

#1164 2012-05-30 15:36:29

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 1,891
Website

Re: zem_contact_reborn 4.0.3.20

Hi Greg and welcome,

Have a look at this page with the zem_contact_reborn docs and you can also find that information if you look in Admin > Plugins and then click “help” for the plugin you want. There’s also this txptip on email contact forms with an example.

That should show you all you need :-)


TXP Builders – finely-crafted code, design and txp

Offline

#1165 2012-06-07 13:23:51

txpdevcoder
Member
Registered: 2012-06-07
Posts: 50

Re: zem_contact_reborn 4.0.3.20

Hi there.

My Host (Media Temple) recently upgraded PHP to PHP version: 5.3.13 and now zem_contact_appears to not succesfully send emails out from contact forms. It reaches the the thank you page for filling the form out, and does not report any errors. so i think its succesfully sending, but the email never arrives in my inbox. to and from address in the contact form are unique, and exist and belong to that domain / hosting account.

Is there an issue with this version of PHP and zem_contact_reborn-4.0.3.20m

Thanks

James

Offline

#1166 2012-06-07 13:35:43

[Axel]
Member
From: Switzerland/Denmark
Registered: 2007-07-26
Posts: 65
Website

Re: zem_contact_reborn 4.0.3.20

I just tried it out on a server running PHP 5.3.13 with zem_contact_reborn-4.0.3.20 and it works as supposed. So something else got upgraded on you server. I suggest you contact your host and ask for support.

Sunny Greetz

Axel


Greetz [Axel]

Offline

#1167 2012-06-07 13:41:24

txpdevcoder
Member
Registered: 2012-06-07
Posts: 50

Re: zem_contact_reborn 4.0.3.20

Thats intresting – thanks alot for verifying that they work, i appreciate it.

J

Offline

#1168 2012-06-07 14:25:51

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 220
Website

Re: zem_contact_reborn 4.0.3.20

I’m PHP 5.3.5 and zem 4.0.3.20 on (mt) (dv server) and all still works. Good luck.


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#1169 2012-06-07 15:07:03

txpdevcoder
Member
Registered: 2012-06-07
Posts: 50

Re: zem_contact_reborn 4.0.3.20

well thats even more intresting, thank you alanfluff. seems i cant change to 5.3.5 on the grid server. did you manually install it, as your on dedicated?

Offline

#1170 2012-06-07 19:08:42

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 220
Website

Re: zem_contact_reborn 4.0.3.20

No I didn’t manually install that ver of PHP. I’m not super-smart at sys-admin stuff so I rely on the standard build for the most part and I am almost certain I’ve not upgraded my PHP myself. I used to be on gs, I’ve not been on it for over a year now and going dv took more $ and some steep learning (for me) but it’s been 100% worth it.


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

Board footer

Powered by FluxBB