Contact Form Plugin For Frog CMS
This simple contact form supplies three fields: name, email, and message. The form is checked to ensure all fields are filled in; if any are missing, the form must be reloaded. As of 1.0.3, an additional field has been added to inhibit spambots. See changelog.txt for a complete update listing.
It is currently hosted on google code where it can downloaded. It uses a MIT style license, please see the ReadMe for more info.
Instructions:
-
Unzip (if you're reading this, you have!) and move the contents of the "contact_form" folder to your /frog/plugins/ directory.
-
Go to the "Administration" > "Plugins" tab in Frog's backend, and tick the Contact Form box in the "Enabled" column. Click on the "Settings" tab, go to the bottom of the page and click on the "Save" button.
-
Create your "contact" page (or using an appropriate current page), insert this code into the "Body" portion:
<?php makeForm('yourEmail@yourSite.com'); ?>with the email you wish the message to be sent to replacing the "dummy" email address above.
(Note that the TinyMCE and Textile filters do not like raw PHP! So for this page, use either the Markdown filter, or none at all.)
-
Add the following code to your site's CSS file:
.contactForm { width:308px; } .contactForm p { padding:10px; } .contactForm input { width:240px; } .contactForm textarea { width:281px; height:120px; } .submit { width:45px!important; } .hide { display:none; } - Test it out and your done!