contact.configuring_personal.html.twig
Same filename in other branches
--- label: 'Configuring personal contact forms' related: - contact.overview - contact.adding_fields --- {% set config_link_text %}{% trans %}Account settings{% endtrans %}{% endset %} {% set config_link = render_var(help_route_link(config_link_text, 'entity.user.admin_form')) %} {% set permission_link_text %}{% trans %}Permissions{% endtrans %}{% endset %} {% set permission_link = render_var(help_route_link(permission_link_text, 'user.admin_permissions')) %} {% set adding_fields_topic = render_var(help_topic_link('contact.adding_fields')) %} <h2>{% trans %}Goal{% endtrans %}</h2> <p>{% trans %}Configure personal contact forms for registered users on the website.{% endtrans %}</p> <h2>{% trans %}Steps{% endtrans %}</h2> <ol> <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> > <em>People</em> > <em>{{ config_link }}</em>.{% endtrans %}</li> <li>{% trans %}In the <em>Contact settings</em> section, check/uncheck the box to enable/disable the contact form for new user accounts.{% endtrans %}</li> <li>{% trans %}Click <em>Save configuration</em>.{% endtrans %}</li> <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>People</em> > <em>{{ permission_link }}</em>.{% endtrans %}</li> <li>{% trans %}Verify that permissions are correct for your site's roles, including the generic <em>Anonymous user</em> and <em>Authenticated user</em>. In order to use personal contact forms, users need both <em>View user information</em> (in the <em>User</em> section, which enables them to view user profiles) and <em>Use users' personal contact forms</em> (in the <em>Contact</em> section, which enables them to use contact forms if they can view user profiles).{% endtrans %}</li> <li>{% trans %}Click <em>Save permissions</em>.{% endtrans %}</li> <li>{% trans %}The contact form will always have <em>Subject</em> and <em>Message</em> fields. If you want to add more fields, follow the steps in {{ adding_fields_topic }}.{% endtrans %}</li> </ol>
File
-
core/
modules/ contact/ help_topics/ contact.configuring_personal.html.twig
View source
- ---
- label: 'Configuring personal contact forms'
- related:
- - contact.overview
- - contact.adding_fields
- ---
- {% set config_link_text %}{% trans %}Account settings{% endtrans %}{% endset %}
- {% set config_link = render_var(help_route_link(config_link_text, 'entity.user.admin_form')) %}
- {% set permission_link_text %}{% trans %}Permissions{% endtrans %}{% endset %}
- {% set permission_link = render_var(help_route_link(permission_link_text, 'user.admin_permissions')) %}
- {% set adding_fields_topic = render_var(help_topic_link('contact.adding_fields')) %}
- <h2>{% trans %}Goal{% endtrans %}</h2>
- <p>{% trans %}Configure personal contact forms for registered users on the website.{% endtrans %}</p>
- <h2>{% trans %}Steps{% endtrans %}</h2>
- <ol>
- <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> > <em>People</em> > <em>{{ config_link }}</em>.{% endtrans %}</li>
- <li>{% trans %}In the <em>Contact settings</em> section, check/uncheck the box to enable/disable the contact form for new user accounts.{% endtrans %}</li>
- <li>{% trans %}Click <em>Save configuration</em>.{% endtrans %}</li>
- <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>People</em> > <em>{{ permission_link }}</em>.{% endtrans %}</li>
- <li>{% trans %}Verify that permissions are correct for your site's roles, including the generic <em>Anonymous user</em> and <em>Authenticated user</em>. In order to use personal contact forms, users need both <em>View user information</em> (in the <em>User</em> section, which enables them to view user profiles) and <em>Use users' personal contact forms</em> (in the <em>Contact</em> section, which enables them to use contact forms if they can view user profiles).{% endtrans %}</li>
- <li>{% trans %}Click <em>Save permissions</em>.{% endtrans %}</li>
- <li>{% trans %}The contact form will always have <em>Subject</em> and <em>Message</em> fields. If you want to add more fields, follow the steps in {{ adding_fields_topic }}.{% endtrans %}</li>
- </ol>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.