ZenphotoCMS Forum
contact form plugin within zenpage 'page' - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: contact form plugin within zenpage 'page' (/thread-2151.html)

Pages: 1 2 3


contact form plugin within zenpage 'page' - stevenew - 2008-10-16

Finally got the nightly working...my fault I forgot to change the rewrite path in htaccess to root- idiot!

Anyway site back to normal and the contact_form still gives the same error and again setting message field from required to show in the contact_form plugin options and then leaving field blank when submitting the form allows the form to reach the commit stage and then gives the error on the final send.




contact form plugin within zenpage 'page' - stevenew - 2008-11-08

I have tried everything I can think of over the past couple of weeks but still have this problem. I have been using the latest nightly of zenphoto and svn of zenpage.

Am I the only person having a problem putting the contact form in a zenpage page?

If so I guess its down to my host.

Anyone else...




contact form plugin within zenpage 'page' - starcrouz - 2008-11-25

Hello,

unfortunately, I have the same type of problem trying to include contact_form into my zenpage news.php page.

My thread about it is here : http://www.zenphoto.org/support/topic.php?id=4370&replies=1#post-25881

Good luck




contact form plugin within zenpage 'page' - jordant - 2009-01-01

I have resolved this issue.

Edit zp-core/plugins/contact_form.php

Line 24 should read:

require_once(SERVERPATH . "/" . ZENFOLDER . "/admin-functions.php");
require_once("zenpage/zenpage-template-functions.php");

Note the new line that requires zenpage-template-functions.php
Thats all I had to do - now in zenpage i can put into a code block of a new page and the contact works perfectly - I can confirm the email works also.




contact form plugin within zenpage 'page' - acrylian - 2009-01-02

Ok, I will look at that. I wonder why it worked for me without that. Actually that plugin should not need zenpage-template-functions at all.




contact form plugin within zenpage 'page' - stevenew - 2009-01-03

@jordant,

Thank you for solving this! I have to admit that I had given up on this ever working for me.

@acrylian

I am very pleased to confirm that this now works perfectly with jordant's fix, form submits and emails are sent and received.

Thanks again




contact form plugin within zenpage 'page' - acrylian - 2009-01-04

Thanks to you both. The fix is already in the svn (as mostly sbillard was faster than me.:-)).