system.config_basic.html.twig

Same filename in other branches
  1. 8.9.x core/modules/help_topics/help_topics/system.config_basic.html.twig
  2. 10 core/modules/system/help_topics/system.config_basic.html.twig
  3. 11.x core/modules/system/help_topics/system.config_basic.html.twig
---
label: 'Changing basic site settings'
top_level: true
related:
  - user.security_account_settings
---
{% set regional_url = render_var(url('system.regional_settings')) %}
{% set information_url = render_var(url('system.site_information_settings')) %}
{% set datetime_url = render_var(url('entity.date_format.collection')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Configure the basic settings of your site, including the site name, slogan, main email address, default time zone, default country, and the date formats to use.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>System</em> &gt; <em><a href="{{ information_url }}">Basic site settings</a></em>.{% endtrans %}</li>
  <li>{% trans %}Enter the site name, slogan, and main email address for your site. {% endtrans %}</li>
  <li>{% trans %}Click <em>Save configuration</em>. You should see a message indicating that the settings were saved.{% endtrans %}</li>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Regional and language</em> &gt; <em><a href="{{ regional_url }}">Regional settings</a></em>.{% endtrans %}</li>
  <li>{% trans %}Select the default country and default time zone for your site.{% endtrans %}</li>
  <li>{% trans %}Click <em>Save configuration</em>. You should see a message indicating that the settings were saved.{% endtrans %}</li>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Regional and language</em> &gt; <em><a href="{{ datetime_url }}">Date and time formats</a></em>.{% endtrans %}</li>
  <li>{% trans %}Look at the <em>Patterns</em> for the Default long, medium, and short date formats. If any of them does not match the date format you want to use on your site, click <em>Edit</em> in that row to edit the format.{% endtrans %}</li>
  <li>{% trans %}Adjust the <em>Format string</em> until the <em>Displayed</em> format matches what you want. (Date format strings are composed of PHP date format codes.){% endtrans %}</li>
  <li>{% trans %}Click <em>Save format</em>. You should see a message indicating that the format was saved.{% endtrans %}</li>
  <li>{% trans %}Repeat the previous three steps for any other date formats that need to be changed.{% endtrans %}</li>
</ol>
<h2>{% trans %}Additional resources{% endtrans %}</h2>
<p>{% trans %}<a href="https://www.php.net/manual/datetime.format.php#refsect1-datetime.format-parameters">PHP date format codes reference</a>{% endtrans %}</p>

File

core/modules/help_topics/help_topics/system.config_basic.html.twig

View source
  1. ---
  2. label: 'Changing basic site settings'
  3. top_level: true
  4. related:
  5. - user.security_account_settings
  6. ---
  7. {% set regional_url = render_var(url('system.regional_settings')) %}
  8. {% set information_url = render_var(url('system.site_information_settings')) %}
  9. {% set datetime_url = render_var(url('entity.date_format.collection')) %}
  10. <h2>{% trans %}Goal{% endtrans %}</h2>
  11. <p>{% trans %}Configure the basic settings of your site, including the site name, slogan, main email address, default time zone, default country, and the date formats to use.{% endtrans %}</p>
  12. <h2>{% trans %}Steps{% endtrans %}</h2>
  13. <ol>
  14. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>System</em> &gt; <em><a href="{{ information_url }}">Basic site settings</a></em>.{% endtrans %}</li>
  15. <li>{% trans %}Enter the site name, slogan, and main email address for your site. {% endtrans %}</li>
  16. <li>{% trans %}Click <em>Save configuration</em>. You should see a message indicating that the settings were saved.{% endtrans %}</li>
  17. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Regional and language</em> &gt; <em><a href="{{ regional_url }}">Regional settings</a></em>.{% endtrans %}</li>
  18. <li>{% trans %}Select the default country and default time zone for your site.{% endtrans %}</li>
  19. <li>{% trans %}Click <em>Save configuration</em>. You should see a message indicating that the settings were saved.{% endtrans %}</li>
  20. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Regional and language</em> &gt; <em><a href="{{ datetime_url }}">Date and time formats</a></em>.{% endtrans %}</li>
  21. <li>{% trans %}Look at the <em>Patterns</em> for the Default long, medium, and short date formats. If any of them does not match the date format you want to use on your site, click <em>Edit</em> in that row to edit the format.{% endtrans %}</li>
  22. <li>{% trans %}Adjust the <em>Format string</em> until the <em>Displayed</em> format matches what you want. (Date format strings are composed of PHP date format codes.){% endtrans %}</li>
  23. <li>{% trans %}Click <em>Save format</em>. You should see a message indicating that the format was saved.{% endtrans %}</li>
  24. <li>{% trans %}Repeat the previous three steps for any other date formats that need to be changed.{% endtrans %}</li>
  25. </ol>
  26. <h2>{% trans %}Additional resources{% endtrans %}</h2>
  27. <p>{% trans %}<a href="https://www.php.net/manual/datetime.format.php#refsect1-datetime.format-parameters">PHP date format codes reference</a>{% endtrans %}</p>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.