davidyell/contact-us

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (0.2.1) of this package.

A basic contact us plugin

Installs: 237

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 2

Open Issues: 3

Type:cakephp-plugin

0.2.1 2014-05-09 10:33 UTC

This package is auto-updated.

Last update: 2024-01-13 02:16:30 UTC


README

#CakePHP-ContactUs

A basic implementation of a contact us form.

##Requirements

##Installation

  1. Unzip, clone or submodule the plugin into app/Plugin/ContactUs
  2. 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));
  3. In your bootstrap file, define an email address you want your messages to be sent from. Do this like so : Configure::write('ContactUs.email', 'from@example.com'); replacing from@example.com with the email address of your choice.
  4. 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') where smtp is the email config setting found in your email.php file. You can supply a different from 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 )