Problem/Motivation
The personal contact form is currently not supported.
Proposed resolution
Allow a block with personal contact form on user page(s).
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | contact_block-personal-form-2608396-6.patch | 3.04 KB | sutharsan |
| #5 | contact_block-personal-form-2608396-5.patch | 1.73 KB | sutharsan |
| #2 | contact_block-personal-form-2608396-2.patch | 4.19 KB | sutharsan |
Comments
Comment #2
sutharsan commentedComment #3
petar.gnjidic commentedPersonal 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?
Comment #4
sutharsan commentedI 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.
Comment #5
sutharsan commentedGeneral code and access control improvements from this patch have been applied. This patch contains the remaining functionality for personal contact forms.
Comment #6
sutharsan commentedNow with documentation.
Comment #8
sutharsan commented