[SOLVED] Contact Form Help
[SOLVED] Contact Form Help
Hi All
New to WondeerCMS [signed up to forum ages ago but never got round to using!]
I have installed the contact form plugin and can see that in contact_form.php there are appropriate 'Thank-You' type messages [Line 199] however I never see these and also the email never arrives?
Apart from checking the correct email address is specified - how can I debug the non arrival of email?
Tia!
New to WondeerCMS [signed up to forum ages ago but never got round to using!]
I have installed the contact form plugin and can see that in contact_form.php there are appropriate 'Thank-You' type messages [Line 199] however I never see these and also the email never arrives?
Apart from checking the correct email address is specified - how can I debug the non arrival of email?
Tia!
Re: Contact Form Help
Hello, nice to read that you give a chance to WonderCMS!
Demo mailform (the Plugin): http://www.webpin.ch/wonder/lightbox
Alternative (from Turboblack): http://www.webpin.ch/wonder5/
Both versions are in use and if you fill out the form I will (I hope that I will...) receive the message.
Try it out...
Same for me....there are appropriate 'Thank-You' type messages [Line 199] however I never see these..
Works fine....and also the email never arrives...
Demo mailform (the Plugin): http://www.webpin.ch/wonder/lightbox
Alternative (from Turboblack): http://www.webpin.ch/wonder5/
Both versions are in use and if you fill out the form I will (I hope that I will...) receive the message.
Try it out...
Re: Contact Form Help
At least you seem to have it working - even your thank-you page!
I have filled in
contact_form.php line 40] $cfg['url'] = "thanks.html" and even that wont work for me
What can I be doing wrong? Starting off with the permissions on contact_form.php - is 644 correct to execute the script?
I have filled in
contact_form.php line 40] $cfg['url'] = "thanks.html" and even that wont work for me
What can I be doing wrong? Starting off with the permissions on contact_form.php - is 644 correct to execute the script?
Re: Contact Form Help
Here is my entry in theme.php [<-material]
The capture works and I can fill in the form but on submit very quickly I go back to index.php and no confirmation message or thanks page - and more importantly no email turns up
Code: Select all
<div class="container padding40">
<div class="contentBackground">
<?=wCMS::page('content')?>
<?php if (wCMS::$currentPage == 'contact'): ?>
<?php
global $contact_form_email;
$contact_form_email = "office@domain.co.uk";
?>
<div class="container marginTop20">
<div class="col-xs-12 col-md-6 col-md-offset-3">
<div id="contactform" class="grayFont" style="height: 265px;">
<?php contact_form(); ?>
</div>
</div>
</div>
<?php endif ?>
</div>
</div>
Re: Contact Form Help
Am totally at a loss - I have no errors in my logs, I have tried various permissions on files and even tried changing php versions!
Ripping my hair out with this
Ripping my hair out with this
- turboblack
- Posts: 201
- Joined: Fri Sep 19, 2014 1:53 pm
Re: Contact Form Help
http://torba.tk/turboblack-with-feedback
try this script, it works both separately and inside the template (any!) if it does not work then you just have a hosting that does not support just such a function that most likely it is. or try the script on another hosting
try this script, it works both separately and inside the template (any!) if it does not work then you just have a hosting that does not support just such a function that most likely it is. or try the script on another hosting
http://old.net.eu.org/ Get ready to hamsterization! code takes less than a kilobyte! shock!
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates
Re: Contact Form Help
Thanks - am beginning to think its a host issue!
Re: Contact Form Help
Sorry - my english...
That means, you made it like in this description:
https://github.com/robiso/wondercms/issues/54
What I can say (how it works with the plugin on my playground):
Well, I'm not a programmer - but I hope, that someone of the community can help to find the right way of implementation.
Cheers, Heinz.
That means, you made it like in this description:
https://github.com/robiso/wondercms/issues/54
What I can say (how it works with the plugin on my playground):
- I can use the form with integration in the theme.
- I can NOT use the form on a specific page.
- I have NOT the posibility to show a confirmation page (on my playground it is just a target page without real formcheck!).
- I can send mails and I receive mails.
Well, I'm not a programmer - but I hope, that someone of the community can help to find the right way of implementation.
Cheers, Heinz.
Re: Contact Form Help
I agree, the solution from Turboblack works absolutely nice: http://www.webpin.ch/wonder5/
Re: Contact Form Help
Hi - thanks for the replies - yes, I made it as instructed, double triple and quadruple checked for mistakes etc I even removed and re-installed the plugin all to no avail
It turned up in right place on Contact page, showed capture and I could fill in form.
Redirect did not work. No error messages in log file. No email arrived.
In end I used the hosts cgi form and used the same method [if page=contact] to display it [I put actual form in theme.php rather than a separate file. I styled it in theme css]
It worked so that's ok for now
It turned up in right place on Contact page, showed capture and I could fill in form.
Redirect did not work. No error messages in log file. No email arrived.
In end I used the hosts cgi form and used the same method [if page=contact] to display it [I put actual form in theme.php rather than a separate file. I styled it in theme css]
It worked so that's ok for now