Contact Form
Permalink
Hi
I looked over and over again for a plugin, that i can use as a contact form? I really cant find any?
The meaning is, that you fill out a form, with name, mail etc, and the message is send to a email, that i choose?
How to?
I looked over and over again for a plugin, that i can use as a contact form? I really cant find any?
The meaning is, that you fill out a form, with name, mail etc, and the message is send to a email, that i choose?
How to?
just use the form block included with c5.
I don't know, it might be me, but I struggled with creating a contact page with the form element. Easier is to create a single page and do it in php.. here is my code for anyone who is struggling. Created a single page called contact-us.php
<div id="contactdetails"> <?php $a = new Area('contactdetails'); $a->display($c); ?> </div> <?php $a = new Area('googlemap'); $a->display($c); ?> <div style="padding-top:80px;"> <?php if($_POST['postit'] == 'sendemail'){ $val = Loader::helper('validation/error'); if ($_POST['fname'] == '') { $val->add('First Name can not be empty.'); } if ($_POST['lname'] == '') { $val->add('Last Name can not be empty.'); } if ($_POST['number'] == '') {
Viewing 15 lines of 79 lines. View entire code block.