contact.creating.html.twig
Same filename in other branches
--- label: 'Creating a new contact form' related: - contact.overview - contact.adding_fields - contact.setting_default --- {% set contact_link_text %}{% trans %}Contact forms{% endtrans %}{% endset %} {% set contact_link = render_var(help_route_link(contact_link_text, 'entity.contact_form.collection')) %} {% set adding_fields_topic = render_var(help_topic_link('contact.adding_fields')) %} <h2>{% trans %}Goal{% endtrans %}</h2> <p>{% trans %}Create a new site-wide contact form.{% endtrans %}</p> <h2>{% trans %}Steps{% endtrans %}</h2> <ol> <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> > <em>{{ contact_link }}</em>.{% endtrans %}</li> <li>{% trans %}Click <em>Add contact form</em>.{% endtrans %}</li> <li>{% trans %}Fill in the <em>Label</em> (title) for the form, <em>Recipients</em>, and optionally the other settings.{% endtrans %}</li> <li>{% trans %}Click <em>Save</em>. You should see your new contact form in the table, along with a link to view it.{% 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/ help_topics/ help_topics/ contact.creating.html.twig
View source
- ---
- label: 'Creating a new contact form'
- related:
- - contact.overview
- - contact.adding_fields
- - contact.setting_default
- ---
- {% set contact_link_text %}{% trans %}Contact forms{% endtrans %}{% endset %}
- {% set contact_link = render_var(help_route_link(contact_link_text, 'entity.contact_form.collection')) %}
- {% set adding_fields_topic = render_var(help_topic_link('contact.adding_fields')) %}
- <h2>{% trans %}Goal{% endtrans %}</h2>
- <p>{% trans %}Create a new site-wide contact form.{% endtrans %}</p>
- <h2>{% trans %}Steps{% endtrans %}</h2>
- <ol>
- <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> > <em>{{ contact_link }}</em>.{% endtrans %}</li>
- <li>{% trans %}Click <em>Add contact form</em>.{% endtrans %}</li>
- <li>{% trans %}Fill in the <em>Label</em> (title) for the form, <em>Recipients</em>, and optionally the other settings.{% endtrans %}</li>
- <li>{% trans %}Click <em>Save</em>. You should see your new contact form in the table, along with a link to view it.{% 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.