forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
56 lines
1.9 KiB
Markdown
56 lines
1.9 KiB
Markdown
# INTRODUCTION
|
|
|
|
The Contact Block module provides you with contact forms in a block. It extends
|
|
Drupal core's Contact module which provides the forms.
|
|
|
|
- Visit the module's project page:
|
|
<https://drupal.org/project/contact_block>
|
|
|
|
## REQUIREMENTS
|
|
|
|
This module requires the following modules:
|
|
|
|
- Contact module (Drupal core)
|
|
|
|
## INSTALLATION
|
|
|
|
Install as you would normally install a contributed Drupal module. See:
|
|
<https://www.drupal.org/documentation/install/modules-themes/modules-8>
|
|
for further information.
|
|
|
|
## CONFIGURATION
|
|
|
|
Create a contact form
|
|
- Home > Administration > Structure > Contact forms
|
|
- Edit (or delete) the default contact forms. Use Manage fields to add, update
|
|
or remove fields of the form.
|
|
- Optionally, create a contact form.
|
|
|
|
Add a Contact block to a block region.
|
|
- Home > Administration > Structure > Block layout
|
|
- Click 'Place block' of the region you want to place a contact block in.
|
|
- Search for 'Contact block' in the listed blocks and click 'Place block'.
|
|
- Select the contact form you want to show in this block.
|
|
- Save the block.
|
|
- Optionally, create another contact block.
|
|
|
|
The personal contact form is built to be used on a pages that 'know' about the
|
|
user. The user 'To' address is determined by using the user ID in the URL. No
|
|
personal contact form is displayed if the user ID is not in the URL.
|
|
For developers: The personal contact form is only loaded if the path contains
|
|
the 'user' placeholder. For example in /user/{user}.
|
|
|
|
The contact forms of Contact module remain functional at their URL. Use custom
|
|
code or an other module to deny access to these pages.
|
|
|
|
## MAINTAINERS
|
|
|
|
Current maintainers:
|
|
- Erik Stielstra (Sutharsan) <https://www.drupal.org/u/sutharsan>
|
|
- Ilcho Vuchkov (vuil) <https://www.frupal.org/u/vuil>
|
|
|
|
This project has been sponsored by:
|
|
- Wizzlern, The Drupal trainers
|
|
- Annertech, Drupal Agency in Ireland & UK
|
|
- MODERNA BG LTD, Digital Agency in Bulgaria & United Europe (EU)
|