Problem/Motivation

The personal contact form is currently not supported.

Proposed resolution

Allow a block with personal contact form on user page(s).

Comments

Sutharsan created an issue. See original summary.

sutharsan’s picture

petar.gnjidic’s picture

Personal contact form is already supported on user profile page... but it can not be added as block in pages. Do we have to allow personal form to put in block as other contact forms?

sutharsan’s picture

Category: Task » Feature request

I created the module because I needed a contact form for a training course. Not the intention of real use. But it has become a nice D8 exercise for me. So I have no real requirements for any of these forms.

The personal contact form block has the advantage to be placed in any region. The default contact form is only available as page and, by default, can be reached via the 'Contact' tab. The personal contact form requires a user as the recipient That is currently this is done by using the user ID ({user}) from the URL. That limits this block to those URLs which contain this ID.

Perhaps it is better to leave this issue as a feature request in the queue. If there is actual requirement for it, it can be added later. In the mean time some general code improvements can be taken from this patch and moved into the code base.

sutharsan’s picture

General code and access control improvements from this patch have been applied. This patch contains the remaining functionality for personal contact forms.

sutharsan’s picture

Now with documentation.

  • Sutharsan committed d94b89c on 8.x-1.x
    Issue #2608396 by Sutharsan: Add support for personal contact form
    
sutharsan’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.