Add a simple contact-form onto a page which sends the form data to an email address., (*1)
Project Home, (*2)
1.1 Installation (composer)
"require": {
"siezi/phile-contact-form": "*"
}
1.2 Installation (Download)
- download this plugin into
plugins/siezi/phileContactForm
2. Activation
After you have installed the plugin you need to activate it. Add the following line to your /config.php
file:, (*3)
$config['plugins']['siezi\\phileContactForm'] = ['active' => true];
3. Start
Set the email-address the contact form is send to:, (*4)
$config['plugins']['siezi\\phileContactForm']['recipient-email'] = 'contact@example.com';
Put, (*5)
(contact-form: simple)
onto the page where the contact form should be inserted., (*6)
4. Config
See config.php
., (*7)
Events
Triggered when the received form data is processed., (*8)
By altering the returned success
parameter allows you to utilize the form data and perform your own action and/or suppress the default (send email)., (*9)