Add alternative text for all documentation screenshots

pull/9159/head
Thibaud Colas 2022-09-09 11:01:39 +01:00 zatwierdzone przez LB (Ben Johnston)
rodzic db894a6457
commit e8d67f778c
27 zmienionych plików z 77 dodań i 77 usunięć

Wyświetl plik

@ -8,11 +8,11 @@ In this interface you can see all of your users, their usernames, their 'level'
You can sort this listing either via Name or Username.
![](../../_static/images/screen36_users_interface.png)
![The users listing, with search and a CTA to add users. This shows three rows with users Olivia Ava, Admin User, and Muddy Waters](../../_static/images/screen36_users_interface.png)
- Select multiple users by checking the checkbox on the left of each row, then use the bulk actions bar at the bottom to perform an action on all selected users.
![](../../_static/images/screen36.5_users_bulk_actions.png)
![The users listing, with checkboxes in the first column. The checkbox for the "Admin user" row has been checked, and a footer with different actions shows at the bottom of the screen](../../_static/images/screen36.5_users_bulk_actions.png)
Clicking on a user's name will open their profile details. From here you can then edit that users details.

Wyświetl plik

@ -7,7 +7,7 @@ before the workflow completes (by default, this results in the publication of th
The workflow management interface is accessed via the `Workflows` item in the `Settings` submenu, found in the left menu bar.
![](../../_static/images/screen45_workflow_index.png)
![Listing of workflows, with a single "Moderators approval" workflow shown, that has a single step](../../_static/images/screen45_workflow_index.png)
In this interface you can see all of the workflows on your site, and the order of tasks in each. You can click on a workflow to edit it or to assign it
to part of the page tree, or use the `Add a workflow` button to create a new workflow. The number of pages each workflow applies to is also shown, and can be
@ -15,7 +15,7 @@ clicked for a complete listing.
## Editing workflows
![](../../_static/images/screen44_workflow_edit.png)
![Workflow editing UI, with a name field, a list of tasks, and pages](../../_static/images/screen44_workflow_edit.png)
Under `Add tasks to your workflow`, you can add, remove, or reorder tasks in a workflow. When adding a task to a workflow, you will be given the
option to create a new task, or reuse an existing one.
@ -29,7 +29,7 @@ On a previously disabled workflow, there is also the option to enable it again.
## Creating and editing tasks
![](../../_static/images/screen46_task_index.png)
![Tasks listing, with a single item](../../_static/images/screen46_task_index.png)
In the tasks interface, accessible via the `Workflow Tasks` item in the `Settings` submenu, you can see a list of the tasks
currently available, as well as which workflows use each task. Similarly to workflows, you can click an existing task to edit it, or the `Add a task` button to create a new task.
@ -38,7 +38,7 @@ When creating a task, if you have multiple task types available, these will be o
Creating a `group approval task`, you will be able to select one or multiple groups: members of any of these, as well as administrators, will be able to
approve or reject moderation for this task.
![](../../_static/images/screen47_task_create.png)
![Tasks creation form, with Name field and Groups checkboxes, with two Moderators and Editors options](../../_static/images/screen47_task_create.png)
When editing a task, you may find that some fields - including the name - are uneditable. This is to ensure workflow history
remains consistent - if you find yourself needing to change the name, it is recommended that you disable the old task, and create a new one with the name

Wyświetl plik

@ -16,12 +16,12 @@ To set up the promoted search results, click on the 'Promoted search results' me
Add a new promoted result from the button in the top right of the resulting screen, or edit an existing promoted result by clicking on it.
![](../../_static/images/screen38_promoted_results_listing.png)
![Promoted results listing, with search field, "Add" button, and four results listed under as rows](../../_static/images/screen38_promoted_results_listing.png)
When adding a new promoted result, Wagtail provides you with a 'Choose from popular search terms' option. This will show you the most popular terms entered by users into your internal search. You can match this list against your existing promoted results to ensure that users are able to find what they are looking for.
![](../../_static/images/screen38.5_popular_search_results.png)
![Popular search terms modal dialog, with close button, search fields, and a table showing multiple terms with their respective Views (past week)](../../_static/images/screen38.5_popular_search_results.png)
You then add a the result itself by clicking 'Add recommended page'. You can add multiple results, but be careful about adding too many, as you may end up hiding all of your organic results with promoted results, which may not be helpful for users who aren't really sure what they are looking for.
![](../../_static/images/screen39_add_promoted_result.png)
![Promoted result editing form, with search term field and associated pages](../../_static/images/screen39_add_promoted_result.png)

Wyświetl plik

@ -2,24 +2,24 @@
Access to specific sets of images and documents can be controlled by setting up collections. By default all images and documents belong to the root collection, but users with appropriate permissions can create new collections through the **Settings -> Collections** area of the admin interface.
![](../../_static/images/collections_list.png)
![Collections listing with three rows: Bakeries, BreadPage Images, Other](../../_static/images/collections_list.png)
## Add a collection
- Clicking the **add a collection** button will allow you to create a collection. Name your collection and click **save** .
![](../../_static/images/collections_create_collection.png)
![Form to create a collection, with a Name text field and Parent dropdown field](../../_static/images/collections_create_collection.png)
## Add images / documents to a collection
- Navigate to the **Images** or **Documents** section and select a collection from the dropdown menu.
- You can also select a collection as part of uploading multiple images or documents.
![](../../_static/images/collections_create_collection_upload_images.png)
![Screenshot of the Add Images page, with a drag-and-drop zone, with the Collection dropdown field highlighted in red](../../_static/images/collections_create_collection_upload_images.png)
- You can also edit an image or document directly by clicking on it to assign it to a collection.
![](../../_static/images/collections_edit_img_view.png)
![Screenshot of the image editing form for an image titled Olivia Ava, with the Collection field highlighted in red](../../_static/images/collections_edit_img_view.png)
(collection_privacy_settings)=
@ -27,11 +27,11 @@ Access to specific sets of images and documents can be controlled by setting up
- To set permissions determining who is able to view documents within a collection, navigate to **Settings > Collections** and select a collection. Then click the privacy button above the collection name.
![](../../_static/images/collections_privacy_button.png)
![The collection editing form for BreadPage Images, with a red highlight around the Privacy: "public" form control](../../_static/images/collections_privacy_button.png)
- Within the privacy settings overlay, select the level of privacy for the collection.
![](../../_static/images/collections_privacy_overlay.png)
![Change privacy modal dialog, with four options as radio buttons](../../_static/images/collections_privacy_overlay.png)
Permissions set on a collection apply to that collection and all collections below it in the hierarchy. Therefore, if you make the 'root' collection private, all documents in the site will be private. Permissions set on other collections apply to that collection only.

Wyświetl plik

@ -2,18 +2,18 @@
Documents such as PDFs can be managed from the Documents interface, available in the left-hand menu. This interface allows you to add documents to and remove documents from the CMS.
![](../../_static/images/screen29_documents_page.png)
![Documents listing, with Search field in header, Add document button, and a Collections dropdown. Underneath, are 4 rows of documents with a header row above](../../_static/images/screen29_documents_page.png)
- Add documents by clicking the _Add document_ button in the top-right.
- Search for documents in the CMS by entering your search term in the search bar. The results will be automatically updated as you type.
- You can also filter the results by _Collection_ by selecting one from the collections dropdown above the documents list.
![](../../_static/images/screen29.5_documents_bulk_actions.png)
![Documents listing, with four items, two of which are selected with their left-hand checkbox. Underneath, an action menu shows different actions and the text "2 documents selected"](../../_static/images/screen29.5_documents_bulk_actions.png)
- Select multiple documents by checking the checkbox on the left of each row, then use the bulk actions bar at the bottom to perform an action on all selected documents.
- Edit the details of a document by clicking the document title.
![](../../_static/images/screen30_documents_edit_page.png)
![Document editing form for a "TPS Report Full Guidelines" Document. To the right we see the file size of 13.0 KB, and a "Usage Used 0 times" label](../../_static/images/screen30_documents_edit_page.png)
- When editing a document you can replace the file associated with that document record. This means you can update documents without having to update the pages on which they are placed. Changing the file will change it on all pages that use the document.
- Change the document's collection using the collection dropdown.

Wyświetl plik

@ -2,15 +2,15 @@
If you want to edit, add or remove images from the CMS outside of the individual pages you can do so from the Images interface. This is accessed from the left-hand menu.
![](../../_static/images/screen31_images_page.png)
![Images listing, with header and images grid](../../_static/images/screen31_images_page.png)
- Select multiple images by checking the checkbox on the top left of each image block, then use the bulk actions bar at the bottom to perform an action on all selected images.
![](../../_static/images/screen31.5_images_bulk_actions.png)
![Images listing, with checkboxes shown next to images. Five images are selected, and a bottom menu shows different actions as well as a "5 images selected" label](../../_static/images/screen31.5_images_bulk_actions.png)
- Clicking an image will allow you to edit the data associated with it. This includes the title, the focal point of the image and much more.
![](../../_static/images/screen32_image_edit_page.png)
![Image editing form for Olivia Ava image. To the right of the form is an image preview, focal point controls, and metadata about the image](../../_static/images/screen32_image_edit_page.png)
## Changing the image

Wyświetl plik

@ -11,7 +11,7 @@ How snippets are used can vary widely between websites. Here are a few examples
## The Snippets menu
![](../../_static/images/screen33_snippet_menu.png)
![Snippets listing, with five rows. For each row, we show the snippets name and number of instances](../../_static/images/screen33_snippet_menu.png)
- You can access the Snippets menu by clicking on the 'Snippets' link in the left-hand menu bar.
- To add or edit a snippet, click on the snippet type you are interested in (often help text will be included to help you in selecting the right type)
@ -22,7 +22,7 @@ How snippets are used can vary widely between websites. Here are a few examples
Editing a snippet will change it on all of the pages on which it has been used. In the top-right of the Snippet edit screen you will see a label saying how many times the snippet has been used. Clicking this label will display a listing of all of these pages.
```
![](../../_static/images/screen34_snippet_used_times.png)
![Snippet editing form for a People snippet instance. To the right of the form is a "Usage Used 2 times" label](../../_static/images/screen34_snippet_used_times.png)
## Adding snippets whilst editing a page

Wyświetl plik

@ -6,7 +6,7 @@ Here is how you can access the edit screen of an existing page:
- Clicking the _Edit_ link below the title in either of the situations above.
- Clicking the _Edit_ icon for a page in the explorer menu.
![](../_static/images/screen12_edit_screen_overview.png)
![Screenshot of the whole page editing screen in Wagtail, with sidebar, header, main form with page fields](../_static/images/screen12_edit_screen_overview.png)
- When editing an existing page the title of the page being edited is displayed at the top of the page.
- You can perform various actions (such as copy, move or delete a page) by opening the secondary menu at the right of the top breadcrumb.
@ -22,7 +22,7 @@ Here is how you can access the edit screen of an existing page:
If the page is currently in a workflow, you'll see an additional indicator in the Info side panel, showing the current workflow task. Clicking the "View details" button will
show more information about the page's progress through the workflow, as well as any comments left by reviewers.
![](../_static/images/screen12.5_edit_screen_in_moderation.png)
![The page editing form, with its Info side panel opened to the right, with a highlight on page workflow metadata](../_static/images/screen12.5_edit_screen_in_moderation.png)
If you can perform moderation actions (for example, approval or requesting changes) on the current task, you'll see additional options in the
action menu at the bottom of the page.
@ -36,27 +36,27 @@ of comments is shown alongside the icon.
When in commenting mode, hovering over a commentable field or block will reveal a comment button.
![](../_static/images/screen49_new_comment_icon.png)
![Screenshot of a Subtitle form field with a comment button next to it, highlighted in red](../_static/images/screen49_new_comment_icon.png)
If there is no pre-existing comment on the field, you can use this to create a new comment.
![](../_static/images/screen52_new_comment.png)
![Two form fields with a comment pop-up off to the right side](../_static/images/screen52_new_comment.png)
If there is an existing comment, clicking either the field button or the comment will bring the comment thread into focus, allowing you to
add new replies.
![](../_static/images/screen48_comment_thread.png)
![An Introduction multiline field, with its comment button active, and the associated comment shown to the right](../_static/images/screen48_comment_thread.png)
Within a rich text field, you can highlight text and click the comment button to add an inline comment.
![](../_static/images/screen51_draftail_comment.png)
!["Heat is gradually" text selection within a rich text editor. Above the selection, the inline toolbar shows, with a "bubble" icon comment button to the right in teal](../_static/images/screen51_draftail_comment.png)
All of these actions can also be performed using the comment shortcut, `Ctrl + Alt + M` / `⌘ + Alt + M`.
Clicking the three dots in the top right of an existing comment will open its menu. This allows you to
resolve a comment, as well as to edit or delete any of your own comments.
![](../_static/images/screen50_comment_menu.png)
![A comment pop-up, with its three dots "actions" menu expanded, with Edit, Delete, Resolve options](../_static/images/screen50_comment_menu.png)
Any comments or changes to comments will only be saved when the page is saved.
@ -67,7 +67,7 @@ Currently, fields inside `InlinePanels` and `ListBlocks` are uncommentable.
The arrow to the right of the comments icon shows the comment notifications
panel, where you can enable or disable email notifications for other users' comments on the page.
![](../_static/images/screen53_commenting_notifications.png)
![Wide screenshot of the page editors tabs and the comment notifications switch off to the right](../_static/images/screen53_commenting_notifications.png)
```{note}
You will always receive email notifications for threads you are part of, unless you opt out of all comment notifications in your

Wyświetl plik

@ -9,7 +9,7 @@ The Dashboard provides information on:
You can return to the Dashboard at any time by clicking the Wagtail logo in the top-left of the screen.
![](../../_static/images/screen02_dashboard_editor.png)
![Screenshot of Wagtails dashboard, with sidebar, header, summary metrics, and listing for pages in different states](../../_static/images/screen02_dashboard_editor.png)
- Clicking the logo returns you to your Dashboard.

Wyświetl plik

@ -1,6 +1,6 @@
# The Explorer menu
![](../../_static/images/screen03_explorer_menu.png)
![Wagtails explorer menu, with 7 entries. One is marked "Live + moderation". There is a button with a left-pointing arrow to the top](../../_static/images/screen03_explorer_menu.png)
- Click the Pages button in the sidebar to open the explorer. This allows you to navigate through the sections of the site.
- Clicking the name of a page will take you to the Explorer page for that section.

Wyświetl plik

@ -2,22 +2,22 @@
The Explorer page allows you to view a page's children and perform actions on them. From here you can publish/unpublish pages, move pages to other sections, drill down further into the content tree, or reorder pages under the parent for the purposes of display in menus.
![](../../_static/images/screen05_explorer_page.png)
![Listing of pages, with heading at the top and icon buttons. Underneath is a header row with a checkbox and column names, and then rows for different pages](../../_static/images/screen05_explorer_page.png)
- The name of the section you are looking at is displayed at the top. Each section is also itself a page (in this case the homepage). Clicking the title of the section takes you to the Edit screen for the section page.
- As the heading suggests, below are the child pages of the section. Clicking the titles of each child page will take you to its Edit screen.
- Clicking the arrows will display a further level of child pages.
![](../../_static/images/screen07_explorer_page_breadcrumb.png)
![Close-up of the pages breadcrumb, with icon buttons next to it. The breadcrumb reads: "Root > Welcome to the Wagtail bakery! > Breads"](../../_static/images/screen07_explorer_page_breadcrumb.png)
- As you drill down through the site, the breadcrumb (the row of pages beginning with the home icon) will display the path you have taken. Clicking on the page titles in the breadcrumb will take you to the Explorer screen for that page.
![](../../_static/images/screen09.1_page_more_dropdown.png)
![Screenshot of the Breads page listing, with expanded "three dots" Actions menu in the header, showing 7 different page actions. One, "Add child page", is highlighted in red](../../_static/images/screen09.1_page_more_dropdown.png)
- Clicking on the Actions dropdown will show a list of actions for the parent page, like Move, Copy, Delete, Unpublish, History. There will also be a Sort menu order button that will take you to the ordering page (see below)
- To add further child pages press the Add child page button. You can view the parent page on the live site by pressing the View live button. The Edit button will take you to the page edit screen.
![](../../_static/images/screen09.2_bulk_action_checkboxes.png)
![The page listing, with checkboxes in the first column, two of which are checked. At the bottom is an actions menu with different buttons and a "2 pages selected" label](../../_static/images/screen09.2_bulk_action_checkboxes.png)
- There is a checkbox on the left of each page row, hovering over the row will make it visible. There is also a checkbox at the top left of the header, used to select or deselect all other checkboxes.
- Selecting at least one checkbox will popup an action bar at the bottom, which will list all the available bulk actions for pages.
@ -26,7 +26,7 @@ The Explorer page allows you to view a page's children and perform actions on th
## Reordering pages
![](../../_static/images/screen08.5_reorder_page_handles.png)
![The page listing, with a "grip" control in the first column for each row, preceded by a "Sort" column label](../../_static/images/screen08.5_reorder_page_handles.png)
- Clicking the “Sort menu order” button in the More dropdown will take you to a page with the reordering handles. This allows you to reorder the way that content displays in the main menu of your website.
- Reorder by dragging the pages by the handles on the far left (the icon made up of 6 dots).

Wyświetl plik

@ -1,6 +1,6 @@
# Using search
![](../../_static/images/screen04_search_screen.png)
![Search screen, with "bread" typed in focused field, and "There are 6 matching pages" underneath. The results show filters, and, sorting options, and four results rows are visible underneath](../../_static/images/screen04_search_screen.png)
- A very easy way to find the page that you want is to use the main search feature, accessible from the left-hand menu.
- Simply type in part or all of the name of the page you are looking for, and the results below will automatically update as you type.

Wyświetl plik

@ -12,4 +12,4 @@ For the purposes of this documentation we will be using the URL, **www.example.c
- Access this by adding **/admin** onto the end of your root URL (for example `www.example.com/admin`).
- Enter your username and password and click **Sign in**.
![](../_static/images/screen01_login.png)
![Screenshot of "Sign in to Wagtail" screen, with username, password, "Remember me" fields, a "Forgotten password?" link, and a submit button. Shows the Wagtail logo at the bottom, and has a gradient background from teal to indigo](../_static/images/screen01_login.png)

Wyświetl plik

@ -26,13 +26,13 @@ As a best practice Wagtail will check redirects as permanent by default, in orde
To configure redirects head over to 'Redirects', which can be found in the Settings menu, accessible via the left-hand menu bar.
![](../_static/images/screen42_redirects_interface.png)
![Redirects listing, with a search field in the header, buttons to add and import redirects, and rows of existing underneath](../_static/images/screen42_redirects_interface.png)
- Add a redirect by clicking the _Add redirect_ button in the top-right.
- Search for redirects already configured by entering your search term in the search bar. The results will be automatically updated as you type.
- Edit the details of a redirect by clicking the URL path in the listing.
![](../_static/images/screen43_redirects_edit_redirect.png)
![Editing form for a redirect, with from fields, Site field, permanent checkbox, and destination fields for page and URL options](../_static/images/screen43_redirects_edit_redirect.png)
- Set _Redirect from_ to the URL pattern which is no longer available on your site.
- Set the _From site_ if applicable (for eg: a multi-site environment).

Wyświetl plik

@ -2,7 +2,7 @@
A common feature of Wagtail is the ability to add more than one of a particular type of field or item. For example, you can add as many authors to a page as you wish.
![](../../_static/images/screen25_multiple_items_open.png)
![Authors block, with two Authors child items, each containing a People field. The first blocks controls to the right are highlighted in red](../../_static/images/screen25_multiple_items_open.png)
- Whenever you see the "+ Add" button illustrated here with "Add author(s)", it means you can add multiple objects or items to a page. Clicking the icon will display the fields required for that piece of content. The image below demonstrates this with a _Author(s)_ items.
- You can delete an individual item by pressing the trash can in the top-right.

Wyświetl plik

@ -6,7 +6,7 @@ Wagtail supports a number of basic fields for creating content, as well as our u
StreamField allows you to create complex layouts of content on a page by combining a number of different arrangements of content, 'blocks', in any order.
![](../../_static/images/screen11_empty_streamfield.png)
![Page body field, with a grid of 6 blocks underneath](../../_static/images/screen11_empty_streamfield.png)
When you first edit a page, you will be presented with the empty StreamField area, with the option to choose one of several block types. The block types on your website may be different from the screenshot here, but the principles are the same.
@ -26,15 +26,15 @@ Basic text fields have no formatting options. How these display will be determin
Most of the time though, you need formatting options to create beautiful looking pages. Wagtail provides "rich text" fields, which have formatting options similar to those of word processors.
![](../../_static/images/screen11.1_streamfield_richtext.png)
![Paragraph block containing a rich text field, with "Hello" text selected and the toolbar showing different formatting options over the selection](../../_static/images/screen11.1_streamfield_richtext.png)
Those fields present a set of tools which allow you to format and style your text. These tools also allow you to insert links, images, videos clips and links to documents. If you want to know more about a specific tool, hover your mouse on the corresponding button so the tooltip appears:
![](../../_static/images/screen11.2_toolbar_tooltips.png)
![Close-up of the rich text toolbar, with "H2" button outlined, and "H3" button having its tooltip "Heading 3 ###"](../../_static/images/screen11.2_toolbar_tooltips.png)
This tooltip shows a longer description of the tool, and displays its keyboard shortcut if there is one. If the keyboard shortcut does not start with CTRL or ⌘, it's a [Markdown](https://en.wikipedia.org/wiki/Markdown) shortcut to type directly in the editor:
![](../../_static/images/screen11.3_keyboard_shortcuts_.gif)
![Screen recording of the rich text field, first typing ###, then the current line switches to heading 3 formatting, then the user types "Differences with Django"](../../_static/images/screen11.3_keyboard_shortcuts_.gif)
---
@ -42,7 +42,7 @@ Thats the gist of it! If you want more information about the editor, please h
### Adding further blocks in StreamField
![](../../_static/images/screen11.8_adding_new_blocks.png)
![The Body StreamField, with Paragraph block, and 6 block options in a grid underneath](../../_static/images/screen11.8_adding_new_blocks.png)
- To add new blocks, click the '+' icons above or below the existing blocks.
- You'll then be presented once again with the different blocks from which you may choose.
@ -51,7 +51,7 @@ Thats the gist of it! If you want more information about the editor, please h
### Reordering and deleting content in StreamField
![](../../_static/images/screen11.9_streamfield_reordering.png)
![Close-up of a paragraph block, with block reodering, delete, duplicate controls visible to the right](../../_static/images/screen11.9_streamfield_reordering.png)
- Click the arrows on the right-hand side of each block to move blocks up and down in the StreamField order of content.
- The blocks will be displayed in the front-end in the order that they are placed in this interface.

Wyświetl plik

@ -1,6 +1,6 @@
# Creating new pages
![](../../_static/images/screen09.1_page_more_dropdown.png)
![Page listing, with "Actions" dropdown expanded in the header. The "Add child page" button within is highlighted in red](../../_static/images/screen09.1_page_more_dropdown.png)
Create new pages by clicking the **Add child page** button. This creates a child page of the section you are currently in. In this case a child page of the 'Breads' page.

Wyświetl plik

@ -1,9 +1,9 @@
# Inserting links to documents into body text
![](../../_static/images/screen27_docs_icon.png)
![Paragraph rich text field, with inline toolbar showing. The "Document" toolbar button is highlighted in red](../../_static/images/screen27_docs_icon.png)
It is possible to insert links to documents held in the CMS into the body text of a web page by clicking the button above in the rich text field.
The process for doing this is the same as when inserting an image. You are given the choice of either choosing a document from the CMS, or uploading a new document.
![](../../_static/images/screen28_docs_form.png)
![Screenshot of a "Choose a document" modal dialog, with Search tab active, with no documents displayed](../../_static/images/screen28_docs_form.png)

Wyświetl plik

@ -8,7 +8,7 @@ There will obviously be many instances in which you will want to add images to a
Often a specific image field will be used for a main image on a page, or for an image to be used when sharing the page on social media. For the standard page on the bakerydemo site, the former is used.
![](../../_static/images/screen14_add_main_image.png)
![Close-up of an empty Image field, showing its "Choose an image" button, and help text underneath](../../_static/images/screen14_add_main_image.png)
- You insert an image by clicking the _Choose an image_ button.
@ -25,7 +25,7 @@ When you click the _Choose an image_ button you will be presented with a pop-up
The image below demonstrates finding and inserting an image that is already present in the CMS image library.
![](../../_static/images/screen16_selecting_image_from_library.png)
!["Choose an image" modal dialog, with Search and Upload tabs, showing a grid of images underneath Search, Collection, Popular tags filters](../../_static/images/screen16_selecting_image_from_library.png)
1. Typing into the search box will automatically display the results below.
2. Clicking one of the Popular tags will filter the search results by that tag.
@ -33,7 +33,7 @@ The image below demonstrates finding and inserting an image that is already pres
**Uploading a new image to the CMS**
![](../../_static/images/screen17_upload_image.png)
![Upload tab in "Choose an image" dialog, with form fields for an image, including a file field](../../_static/images/screen17_upload_image.png)
1. You must include an image title for your uploaded image
2. Click the _Choose file_ button to choose an image from your computer.
@ -46,7 +46,7 @@ Images can also be inserted into the body text of a page via the rich text edito
In addition, Wagtail allows you to choose the format of your image.
![](../../_static/images/screen18_image_format.png)
!["Choose a format" modal dialog, with Format radio field with three options, an "Image is decorative" checkbox, and an Alt text field underneath, with "Insert image" button](../../_static/images/screen18_image_format.png)
1. You can select how the image is displayed by selecting one of the format options.
2. You can choose if the image is [decorative](https://www.w3.org/WAI/tutorials/images/decorative/), in which case you will not need to enter alt text for your image.

Wyświetl plik

@ -6,7 +6,7 @@ Similar to images, there are a variety of points at which you will want to add l
Whichever way you insert a link, you will be presented with the form displayed below.
![](../../_static/images/screen19_link_form.png)
!["Choose a page" modal dialog, with search fields, 5 link options, language picker, breadcrumb, and pages showing underneath](../../_static/images/screen19_link_form.png)
- Search for an existing page to link to using the search bar at the top of the pop-up.

Wyświetl plik

@ -4,11 +4,11 @@
It is possible to embed media into the body text of a web page by clicking the _Embed_ button in rich text toolbar.
![](../../_static/images/screen20_insert_video_form.png)
!["Insert embed" modal dialog, with a single URL field and an Insert button under](../../_static/images/screen20_insert_video_form.png)
- Copy and paste the web address for the media into the URL field and click Insert.
![](../../_static/images/screen21_video_in_editor.png)
![Close-up of a rich text block, with a text paragraph, and then a thumbnail with a video "Play" symbol in the top right](../../_static/images/screen21_video_in_editor.png)
- A placeholder of the media will be inserted into the text area.

Wyświetl plik

@ -6,7 +6,7 @@ The Save/Submit for moderation menu is always present at the bottom of the page
- **Submit to Moderators approval:** Saves your current changes and submits the page for moderation. The page will then enter a moderation workflow: a set of tasks which, when all are approved, will publish the page (by default, depending on your site {ref}`settings<workflow_settings>`). This button may be missing if the site administrator has {ref}`disabled moderation<wagtail_moderation_enabled>`, or hasn't assigned a workflow to this part of the site. (all roles)
- **Publish/Unpublish:** Clicking the _Publish_ button will publish this page. Clicking the _Unpublish_ button will take you to a confirmation screen asking you to confirm that you wish to unpublish this page. If a page is published it will be accessible from its specific URL and will also be displayed in site search results. (moderators and administrators only)
![](../../_static/images/screen13_publish_menu.png)
![Page editor, with Save/Submit menu expanded to reveal all four options](../../_static/images/screen13_publish_menu.png)
Other common page actions are available in the **Actions** dropdown, at the top of the screen.
@ -14,4 +14,4 @@ Other common page actions are available in the **Actions** dropdown, at the top
To access Wagtails page preview, head over to the Preview side panel. A live-updating preview shows to the right of the page in Mobile mode, and it can be opened in a new tab displaying the page as it would look if published.
![](../../_static/images/screen13_preview_panel.png)
![Page editor for "Bread and Circuses" page. The form to the left, and to the right the Preview side panel is expanded, showing the page as it would appear to users on Mobile devices](../../_static/images/screen13_preview_panel.png)

Wyświetl plik

@ -4,4 +4,4 @@
- If you try to save/submit the page with some required fields not filled out, you will see the error displayed here.
- The number of validation errors for each of the _Promote_ and _Content_ tabs will appear in a red circle, and the text, 'This field is required', will appear above each field that must be completed.
![](../../_static/images/screen23_validation_error.png)
![The page editor with an error banner at the top, "The page could not be created due to validation errors". The Content and Promote tabs have a red "1" next to them, and the Title field is bordered in red with a "This field is required" message above](../../_static/images/screen23_validation_error.png)

Wyświetl plik

@ -1,11 +1,11 @@
# Selecting a page type
![](../../_static/images/screen09_page_type_selection.png)
!["Create a page in Welcome to the Wagtail bakery!" page type list, with 7 different page types to choose from, with a link to pages using each type in each row](../../_static/images/screen09_page_type_selection.png)
- On the left of the page chooser screen are listed all the types of pages that you can create. Clicking the page type name will take you to the Create new page screen for that page type (see below).
- Clicking the _Pages using … Page_ links on the right will display all the pages that exist on the website of this type. This is to help you judge what type of page you will need to complete your task.
![](../../_static/images/screen10_blank_page_edit_screen.png)
![Page editor titled "New: Standard page", showing the Content tab, with all fields empty](../../_static/images/screen10_blank_page_edit_screen.png)
- Once you've selected a page type you will be presented with a blank New page screen.
- Click into the areas below each field's heading to start entering content.

Wyświetl plik

@ -16,7 +16,7 @@ The Promote tab is where you can configure a page's metadata, to help search eng
- **Show in menus:** Ticking this box will ensure that the page is included in automatically generated menus on your site. Note: A page will only display in menus if all of its parent pages also have _Show in menus_ ticked.
![](../../_static/images/screen26.5_promote_tab.png)
![Promote tab of the page editor form, with three "For search engines" fields, and the "Show in menus" checkbox underneath](../../_static/images/screen26.5_promote_tab.png)
```{note}
You may see more fields than this in your promote tab. These are just the default fields, but you are free to add other fields to this section as necessary.

Wyświetl plik

@ -115,11 +115,11 @@ $ python manage.py runserver
If everything worked, <http://127.0.0.1:8000> will show you a welcome page:
![](../_static/images/tutorial/tutorial_1.png)
![Browser screenshot of "Welcome to your new Wagtail site!" page, with teal egg above the title, and links to different resources. The page is shown inside a browswer tab, with browser URL bar at the top](../_static/images/tutorial/tutorial_1.png)
You can now access the administrative area at <http://127.0.0.1:8000/admin>
![](../_static/images/tutorial/tutorial_2.png)
![Screenshot of Wagtails dashboard, with "Welcome to the mysite Wagtail CMS" heading, 1 page, 0 images, 0 documents. Underneath is a "Your most recent edits" section, with the Home page listed](../_static/images/tutorial/tutorial_2.png)
## Extend the HomePage model
@ -181,7 +181,7 @@ Edit `home/templates/home/home_page.html` to contain the following:
`wagtailcore_tags` must also be loaded at the top of the template and provide additional tags to those provided by Django.
![](../_static/images/tutorial/tutorial_3.png)
![Screenshot of an almost empty page – white background, "Welcome to our new site!" in the top left, and Wagtail logo in circled cyan in the bottom right](../_static/images/tutorial/tutorial_3.png)
### Wagtail template tags
@ -332,22 +332,22 @@ URL of the blog this post is a part of.
Now create a few blog posts as children of `BlogIndexPage`.
Be sure to select type "Blog Page" when creating your posts.
![](../_static/images/tutorial/tutorial_4a.png)
![Page listing for Home page, with the "Actions" dropdown expanded, and the "Add child page" highlighted in red](../_static/images/tutorial/tutorial_4a.png)
![](../_static/images/tutorial/tutorial_4b.png)
!["Create a page in our blog" page type selector, with Blog page button highlighted in red](../_static/images/tutorial/tutorial_4b.png)
Wagtail gives you full control over what kinds of content can be created under
various parent content types. By default, any page type can be a child of any
other page type.
![](../_static/images/tutorial/tutorial_5.png)
![Page editor for "First blog post" page, with Post date, Intro, Body fields](../_static/images/tutorial/tutorial_5.png)
Publish each blog post when you are done editing.
You should now have the very beginnings of a working blog.
Access the `/blog` URL and you should see something like this:
![](../_static/images/tutorial/tutorial_7.png)
![Basic "Our blog" page with three blogs listed, with their title, content](../_static/images/tutorial/tutorial_7.png)
Titles should link to post pages, and a link back to the blog's
homepage should appear in the footer of each post page.
@ -547,7 +547,7 @@ Adjust your blog page template to include the images:
Here we use the `{% image %}` tag (which exists in the `wagtailimages_tags` library, imported at the top of the template) to insert an `<img>` element, with a `fill-320x240` parameter to indicate that the image should be resized and cropped to fill a 320x240 rectangle. You can read more about using images in templates in the [docs](../topics/images).
![](../_static/images/tutorial/tutorial_6.png)
!["Second Post" page, with title, date, intro, body, and a gallery of three images](../_static/images/tutorial/tutorial_6.png)
Since our gallery images are database objects in their own right, we can now query and re-use them independently of the blog post body. Let's define a `main_image` method, which returns the image from the first gallery item (or `None` if no gallery items exist):
@ -662,7 +662,7 @@ to group the date and tags fields together for readability.
Edit one of your `BlogPage` instances, and you should now be able to tag posts:
![](../_static/images/tutorial/tutorial_8.png)
![Screenshot of the "Second Post" page in the editor form, showing the Content tab](../_static/images/tutorial/tutorial_8.png)
To render tags on a `BlogPage`, add this to `blog_page.html`:
@ -751,7 +751,7 @@ a Profile model for authors - we'll leave those as an exercise for the reader.
Clicking the tag button at the bottom of a BlogPost should now render a page
something like this:
![](../_static/images/tutorial/tutorial_9.png)
![A page titled "Showing pages tagged bread", with two page links underneath](../_static/images/tutorial/tutorial_9.png)
(tutorial_categories)=
@ -848,7 +848,7 @@ Finally, we can update the `blog_page.html` template to display the categories:
{% endwith %}
```
![](../_static/images/tutorial/tutorial_10.png)
!["Second Post" page, with title, date, categories, intro, body, and a gallery of three images](../_static/images/tutorial/tutorial_10.png)
## Where next

Wyświetl plik

@ -2,7 +2,7 @@
The TableBlock module provides an HTML table block type for StreamField. This module uses [handsontable 6.2.2](https://handsontable.com/) to provide users with the ability to create and edit HTML tables in Wagtail. Table blocks provides a caption field for accessibility.
![](../../_static/images/screen40_table_block.png)
![The TableBlock component in StreamField, with row header, column header, caption fields - and then the editable table](../../_static/images/screen40_table_block.png)
## Installation