2017 © Pedro PelĂĄez
 

library contact

A simple contact form for spryker.

image

fond-of-spryker/contact

A simple contact form for spryker.

  • Monday, April 23, 2018
  • by daniel-rose
  • Repository
  • 2 Watchers
  • 0 Stars
  • 398 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 75 % Grown

The README.md

spryker-contact

PHP from Travis config license, (*1)

This is a simple contact form for spryker., (*2)

Install

1. Execute composer command

composer require fond-of-spryker/contact

2. Add controller provider in YvesBootstrap.php in getControllerProviderStack()

new ContactControllerProvider($isSsl),

3. Add mail plugin in Pyz Zed/Mail/MailDependencyProvider.php in MAIL_TYPE_COLLECTION

$mailCollection->add(new ContactMailTypePlugin());

4. Create your own form template under:

src/Pyz/Yves/Contact/Theme/default/index/index.twig

5. Append glossary entries from contact_glossary.csv to glossary.csv and execute commands

vendor/bin/console data:import:glossary
vendor/bin/console collector:storage:export

6. Create transfer objects

vendor/bin/console transfer:generate

7. Add this to your configuration file. This EMail receives the contact form.

// ---------- Contact
$config[\FondOfSpryker\Shared\Contact\ContactConstants::CONTACT_FORM_MAIL_RECEIVER] = 'example@example.org';

8. Enjoy

(Edit route in ContactControllerProvider if it's your wish), (*3)

/{$locale}/contacts 

The Versions

23/04 2018

dev-master

9999999-dev

A simple contact form for spryker.

  Sources   Download

MIT

The Requires

  • php >=7.1
  • spryker/mail ^4.0.0
  • spryker/twig ^3.0.0

 

The Development Requires

by Daniel Rose
by Markus Nörenberg
by Pascal Fischer
by Jozsef Geng

23/04 2018

1.0.0-RC1

1.0.0.0-RC1

A simple contact form for spryker.

  Sources   Download

MIT

The Requires

  • php >=7.1
  • spryker/mail ^4.0.0
  • spryker/twig ^3.0.0

 

The Development Requires

by Daniel Rose
by Markus Nörenberg
by Pascal Fischer
by Jozsef Geng