2017 © Pedro Peláez
 

cakephp-plugin contact-form

CakePHP ContactForm Plugin

image

gilleswittenberg/contact-form

CakePHP ContactForm Plugin

  • Tuesday, May 28, 2013
  • by gilleswittenberg
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CakePHP 2.3+ ContactForm Plugin

Installation

[Composer], (*1)

Add the following to composer.json, (*2)

"require": {
    "gilleswittenberg/contact-form": "dev-master"
}

[Manual], (*3)

  1. Download http://github.com/gilleswittenberg/CakePHP_ContactForm/zipball/master
  2. Unzip the downloaded ZIP file.
  3. Copy the resulting folder to APP_DIR/Plugin
  4. Rename the folder you just copied to ContactForm

[GIT Submodule], (*4)

In your APP_DIR type:, (*5)

git submodule add git://github.com/gilleswittenberg/CakePHP_ContactForm.git Plugin/ContactForm
git submodule init
git submodule update

[GIT Clone], (*6)

In APP_DIR/Plugin directory type, (*7)

git clone git://github.com/gilleswittenberg/CakePHP_ContactForm.git ContactForm

Create schema

Run cake shell schema, (*8)

cake schema create --plugin ContactForm

Usage

In APP_DIR/Config/bootstrap.php add:, (*9)

CakePlugin::load('ContactForm', array('bootstrap' => true, 'routes' => true));

Configure::write('ContactForm', array(
    'mailTo' => 'mail@example.com',
    'sendInControllerAction' => 'true'
));

ToDo

  • Configurable validation for fields
  • Configurable flash messages
  • SendMailShell
  • Captcha
  • Clear Session from send mail
  • Disable form after submit (Javascript)
  • Allow for multiple different forms per application

The Versions

28/05 2013

dev-master

9999999-dev https://github.com/gilleswittenberg/CakePHP_ContactForm

CakePHP ContactForm Plugin

  Sources   Download

MIT

The Requires