Creating Forms
Creating Forms
Hi,
CMS Made Simple is great. Have it installed and have got my own template working fine. Now I want to put in a contact submssion form on the site and my usual php code will not work. Can someone please tell me how a form can be handled?
Thanks.
CMS Made Simple is great. Have it installed and have got my own template working fine. Now I want to put in a contact submssion form on the site and my usual php code will not work. Can someone please tell me how a form can be handled?
Thanks.
Creating Forms
Try the built-in module:
Code: Select all
{contact_form email="someone@somewhere.com"}
Creating Forms
Thanks for that, perfect. Now what if I wanted to create my own form with my own fields and what not?
Andrewau
Andrewau
Creating Forms
I think wishy talked about putting together some documentation/tutorial on working with forms. I haven't attempted to integrate my own forms, but I imagine you could do it with a user defined tag (in the Plugin Management section of the admin menu).
wishy?
Later,
BR
wishy?
Later,
BR
Creating Forms
The built in contact module is not working on my website.
I have a valid email address in the tag, I completed all fields, the email address is a valid email address. I keep getting the message:
Sorry, the message was not sent. The server may be down!
Are there any other settings I need to make?
I have a valid email address in the tag, I completed all fields, the email address is a valid email address. I keep getting the message:
Sorry, the message was not sent. The server may be down!
Are there any other settings I need to make?
Greg
Creating Forms
Hmm. That's interesting. I kind of wondered if there were any settings in config.php to set it up to use different mail servers. I haven't checked into it, nor have I actually tried to use the contact form on a production site, yet.
wishy???
Later,
BR
wishy???
Later,
BR
Creating Forms
Well, the first thing you should do is take the @ away from in front of the mail command on line 55 of plugins/function.contact_form.php.
That should give you a better error message and will make it easier to trck down.
That should give you a better error message and will make it easier to trck down.
Creating Forms
Html created (view source):
Should there be a parameter in the action = ?
Code: Select all
<form action="" method="post" name="contactForm" style="font-weight: bold;">
Greg
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Creating Forms
Code: Select all
{contact_form email="rob@techcom.dyndns.org"}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Creating Forms
Not that I know of, no reference in phpinfo
Standard linux , php 4.3.8, Apache 1.3.31, MySQL 4.0.21, Zend Engine v1.3.0
Standard linux , php 4.3.8, Apache 1.3.31, MySQL 4.0.21, Zend Engine v1.3.0
Greg