Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Contact author

Security covered Under active development 10 sites

Part of the Contact ecosystem · 27 projects

This module provides a block that displays a link to open a node author's contact form in an off-canvas dialog. Users with the appropriate permission can click this link to send a message to the author directly from the node page.

Provides the block with the link to open a contact form of a node author in off-canvas dialog.

Uses

1. To enable users to send messages via contact form they should have the "Use users' personal contact forms" permission.
Visit /admin/people/permissions
and give this permission to those roles you want.
2. Visit /admin/structure/block, select a region you need and click on the "Place block" button.
3. Find the "Contact author" block and click on the "Place block" button.
4. Enter the title of the block. The title of the block will be used as the title of the link.
5. Uncheck the "Display title" option and click on the "Save block" button.
6. Scroll down and click on the "Save blocks" button.

After this if a user visit a node and if an author of this node has email address, then a user will see the "Contact author" link.
If a user click on the link, then a contact form of a node's author will be opened in off-canvas dialog.

Also, the module provides the "contact-author.html.twig" template that can be used for styling of the link. The width of the off-canvas dialog also can be altered with this template.

Drupal 8–11

Ask your assistant about Contact author

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • contact Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.1 Stable 8–11 Nov 18, 2023