Download the PHP package davidyell/contact-us without Composer
On this page you can find all versions of the php package davidyell/contact-us. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package contact-us
CakePHP-ContactUs
A basic implementation of a contact us form.
Requirements
- CakePHP v2.x
- CakeDC/Recaptcha component
Installation
- Unzip, clone or submodule the plugin into
app/Plugin/ContactUs
- Load the plugin enabling it's routes to allow
/contact-us
as the url instead of/contact_us/contacts/message
.CakePlugin::load('ContactUs', array('routes'=>true));
- In your bootstrap file, define an email address you want your messages to be sent from. Do this like so :
Configure::write('ContactUs.email', '[email protected]');
replacing[email protected]
with the email address of your choice. - If you wish to use an email config from your email.php file, you can tell the plugin to use it by adding this to your bootstrap
Configure::write('ContactUs.emailConfig', 'smtp')
wheresmtp
is the email config setting found in your email.php file. You can supply a differentfrom email
,subject
and many other parts of the email sent by the plugin using this feature. ( for more info, please visit http://book.cakephp.org/2.0/en/core-utility-libraries/email.html#basic-usage )
All versions of contact-us with dependencies
PHP Build Version
Package Version
Requires
composer/installers Version
~1.0
The package davidyell/contact-us contains the following files
Loading the files please wait ....