book.adding.html.twig

Same filename and directory in other branches
  1. 9 core/modules/help_topics/help_topics/book.adding.html.twig
  2. 8.9.x core/modules/help_topics/help_topics/book.adding.html.twig
  3. 10 core/modules/book/help_topics/book.adding.html.twig
---
label: 'Adding content to a book'
related:
  - book.about
  - book.configuring
  - book.creating
  - book.organizing
---
{% set node_add_link_text %}{% trans %}Add content{% endtrans %}{% endset %}
{% set node_add_link = render_var(help_route_link(node_add_link_text, 'node.add_page')) %}
{% set configuring_topic = render_var(help_topic_link('book.configuring')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Add a page to an existing book.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Content</em> &gt; <em>{{ node_add_link }}</em> &gt; <em>Book page</em>. If you have configured additional content types that can be added to books, you can substitute a different content type for <em>Book page</em>; see {{ configuring_topic }} for more information.{% endtrans %}</li>
  <li>{% trans %}Enter a title for the page and some text for the body of the page.{% endtrans %}</li>
  <li>{% trans %}In the vertical tabs area, click <em>Book Outline</em>. Select the book you want to add the page to in the <em>Book</em> select list. If you want to insert this page into the book hierarchy, also select the desired parent page in the <em>Parent item</em> select list.{% endtrans %}</li>
  <li>{% trans %}Select the desired weight for the page in the <em>Weight</em> select list (pages with the same parent item are ordered from lowest to highest weight).{% endtrans %}</li>
  <li>{% trans %}Click <em>Save</em> to add the page to the book.{% endtrans %}</li>
</ol>

File

core/modules/book/help_topics/book.adding.html.twig

View source
  1. ---
  2. label: 'Adding content to a book'
  3. related:
  4. - book.about
  5. - book.configuring
  6. - book.creating
  7. - book.organizing
  8. ---
  9. {% set node_add_link_text %}{% trans %}Add content{% endtrans %}{% endset %}
  10. {% set node_add_link = render_var(help_route_link(node_add_link_text, 'node.add_page')) %}
  11. {% set configuring_topic = render_var(help_topic_link('book.configuring')) %}
  12. <h2>{% trans %}Goal{% endtrans %}</h2>
  13. <p>{% trans %}Add a page to an existing book.{% endtrans %}</p>
  14. <h2>{% trans %}Steps{% endtrans %}</h2>
  15. <ol>
  16. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Content</em> &gt; <em>{{ node_add_link }}</em> &gt; <em>Book page</em>. If you have configured additional content types that can be added to books, you can substitute a different content type for <em>Book page</em>; see {{ configuring_topic }} for more information.{% endtrans %}</li>
  17. <li>{% trans %}Enter a title for the page and some text for the body of the page.{% endtrans %}</li>
  18. <li>{% trans %}In the vertical tabs area, click <em>Book Outline</em>. Select the book you want to add the page to in the <em>Book</em> select list. If you want to insert this page into the book hierarchy, also select the desired parent page in the <em>Parent item</em> select list.{% endtrans %}</li>
  19. <li>{% trans %}Select the desired weight for the page in the <em>Weight</em> select list (pages with the same parent item are ordered from lowest to highest weight).{% endtrans %}</li>
  20. <li>{% trans %}Click <em>Save</em> to add the page to the book.{% endtrans %}</li>
  21. </ol>

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