druxt / druxt.js

The Fully Decoupled Drupal Framework
MIT License
112 stars 20 forks source link

Contact module #22

Open Decipher opened 3 years ago

Decipher commented 3 years ago

Is your feature request related to a problem? Please describe. As a user I want Drupal contact pages to resolve and behave correctly.

Describe the solution you'd like

Describe alternatives you've considered No

Additional context

image

Decipher commented 3 years ago

The initial work has been done for the backend in https://github.com/druxt/druxt_drupal/issues/11.

Now a module needs to be created to register the routes with the DruxtRouter and provide the render component.

Decipher commented 3 years ago

Blocked by:

Decipher commented 3 years ago

The Umami demo has an example of Contact form integration:

Custom Contact module: https://github.com/druxt/demo.druxtjs.org/blob/develop/components/druxt/Contact.vue Custom Entity router component: https://github.com/druxt/demo.druxtjs.org/blob/develop/components/druxt/router/entity/NotFront.vue

Additionally, if you want Drupal to actually send the mail, you will need a version of the patch at the following issue: https://www.drupal.org/project/drupal/issues/2936644