2017 © Pedro PelĂĄez
 

library canarium-modules-contact-us

A module that allows canarium to have contact us functionality.

image

unarealidad/canarium-modules-contact-us

A module that allows canarium to have contact us functionality.

  • Monday, January 2, 2017
  • by unarealidad
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ContactUs

A module that allows canarium to have contact us functionality., (*1)

Recaptcha can be enabled for added security., (*2)

Installation

Install via composer:, (*3)

composer require unarealidad/canarium-modules-contact-us dev-master, (*4)

Add ContactUs to your Appmaster's config/application.config.php or your Appinstance's config/instance.config.php under the key modules, (*5)

Copy the sample config config/canariumcontactus.local.php.dist to your Appinstance's config/autoload/ directory and remove the .dist extension., (*6)

Go to your Appinstance directory and run the following to update your database:, (*7)

./doctrine-module orm:schema-tool:update --force, (*8)

Configuration

Configuration main key: canariumcontactus Sample Config file: config/canariumcontactus.local.php.dist, (*9)

Config Item Sample Value Required Description
email_sender array('email' => 'someone@someone.com', 'name' => 'Someone') true An array with email and name key that will be used as the sender of the email
email_admin 'admin@contactus.com' true The email address of the recipient of all submitted data
email_subject 'Sample Subject' true The subject for the sender's success email
email_admin_subject 'Admin Subject' true The subject for the recipient success email

Exposed Pages

URL Template Access Description
/contact-us contact-us/index.phtml Public Displays the contact form and processes the request
/contact-us/thank-you contact-us/thank-you.phtml Public Displays the thank you page after the contact form has been successfully submitted.
/admin/contact-us admin/index.phtml Admin Displays the list of submitted items

* All template locations are relative to the Appinstance root's /public/templates/contact-us/. Sample templates are provided in the module's view/ directory., (*10)

Additional Customization

Email Templates

Template Description
/public/templates/contact-us/email.phtml The email sent to the sender
/public/templates/contact-us/email-admin.phtml The email sent to the admin

Exposed Services

canariumcontactus_contactus_service - Main service. Handles the sending of emails after successful submission., (*11)

The Versions

02/01 2017

dev-master

9999999-dev http://www.canarium.ph

A module that allows canarium to have contact us functionality.

  Sources   Download

MIT

The Requires

 

canarium una realidad