2017 © Pedro Peláez
 

cakephp-plugin contact-us

A basic contact us plugin

image

davidyell/contact-us

A basic contact us plugin

  • Friday, June 6, 2014
  • by davidyell
  • Repository
  • 2 Watchers
  • 2 Stars
  • 226 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

CakePHP-ContactUs

A basic implementation of a contact us form., (*1)

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 )

The Versions

06/06 2014

dev-develop

dev-develop

A basic contact us plugin

  Sources   Download

The Requires

 

21/05 2014

dev-master

9999999-dev

A basic contact us plugin

  Sources   Download

The Requires

 

09/05 2014

v0.2.1

0.2.1.0

A basic contact us plugin

  Sources   Download

The Requires