"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/help_topics/help_topics/system.maintenance_mode.html.twig" (26 Nov 2020, 1997 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ---
    2 label: 'Enabling and disabling maintenance mode'
    3 related:
    4   - core.maintenance
    5   - system.cache
    6 ---
    7 {% set maintenance_url = render_var(url('system.site_maintenance_mode')) %}
    8 {% set cache_help = render_var(url('help.help_topic', {'id': 'system.cache'})) %}
    9 <h2>{% trans %}Goal{% endtrans %}</h2>
   10 <p>{% trans %}Put your site in maintenance mode to perform maintenance operations, and then return to normal mode when finished.{% endtrans %}</p>
   11 <h2>{% trans %}What is maintenance mode?{% endtrans %}</h2>
   12 <p>{% trans %}When your site is in maintenance mode, most site visitors will see a simple maintenance mode message page, rather than being able to use the full functionality of the site. Users with <em>Use the site in maintenance mode</em> permission who are already logged in will be able to use the full site, and the log in page at <em>/user</em> will also be accessible to anyone.{% endtrans %}</p>
   13 <h2>{% trans %}Steps{% endtrans %}</h2>
   14 <ol>
   15   <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Development</em> &gt; <a href="{{ maintenance_url }}"><em>Maintenance mode</em></a>.{% endtrans %}</li>
   16   <li>{% trans %}Check <em>Put site into maintenance mode</em>, optionally change the <em>Message to display when in maintenance mode</em>, and click <em>Save configuration</em>. Your site will be in maintenance mode.{% endtrans %}</li>
   17   <li>{% trans %}Perform your maintenance operations.{% endtrans %}</li>
   18   <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Development</em> &gt; <em><a href="{{ maintenance_url }}">Maintenance mode</a></em>.{% endtrans %}</li>
   19   <li>{% trans %}Uncheck <em>Put site into maintenance mode</em> and click <em>Save configuration</em>. Your site will be back in normal operation mode.{% endtrans %}</li>
   20   <li>{% trans %}Clear the site cache. See <a href="{{ cache_help }}">Clearing the site cache</a> for instructions.{% endtrans %}</li>
   21 </ol>