Skip to content

Commit 474faa2

Browse files
[TASK] Update chapter adding content for the changed tutorial structure (#234)
* [TASK] Update chapter adding content for the changed tutorial structure Also move previewing the page to minimal site package Releases: main, 13.4 * Update Index.rst --------- Co-authored-by: Garvin Hicking <blog@garv.in>
1 parent 54e1c52 commit 474faa2

File tree

4 files changed

+27
-28
lines changed

4 files changed

+27
-28
lines changed

Documentation/ContentMapping/AddContent.rst

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
Add content in the TYPO3 backend
88
================================
99

10-
Now it's a great time to add some content in the backend. Go to
10+
The pages generated in step
11+
:ref:`Create initial pages <t3sitepackage:typo3-backend-create-initial-pages>`
12+
already contain some example content.
13+
14+
You can add additonal content in the backend. Go to
1115
:guilabel:`Web > Page` and select any of the pages you created before,
1216
(for example "Page 1"). Click the :guilabel:`+ Content` button
1317
in the column labelled "*Main*" and choose the "Regular Text
@@ -21,25 +25,12 @@ You can return to the previous view by clicking :guilabel:`Close`.
2125

2226
.. include:: /Images/AutomaticScreenshots/FillNewContentElement.rst.txt
2327

24-
The new content element appears in the appropriate column. Repeat this process
25-
and enter some further content in the column "Jumbotron". The page module should
26-
now look like this:
27-
28-
.. include:: /Images/AutomaticScreenshots/ContentMappingPreviewPage.rst.txt
29-
30-
.. contents::
31-
32-
.. _cm-preview-page:
33-
34-
Preview page
35-
============
36-
37-
We have made changes to the Fluid templates of the extension above. It is
38-
therefore necessary to :guilabel:`Flush frontend caches` in the Menu in the
39-
top bar before you can preview the page properly:
40-
41-
.. include:: /Images/AutomaticScreenshots/FlushFrontendCaches.rst.txt
42-
43-
You can now preview your page:
28+
:ref:`Preview the page <t3sitepackage:cm-preview-page>` and assert that the
29+
content is displayed as expected. Whenever you edit the content elements on
30+
a page the cache of the current page is automatically deleted. If the content
31+
fails to update you should still delete the TYPO3 caches and force your
32+
browser to reload.
4433

45-
.. include:: /Images/AutomaticScreenshots/ContentMappingPreviewPage.rst.txt
34+
There are many tips and tricks around content editing. The topic is described
35+
in more depth in chapter
36+
:ref:`Content Elements of the Editors Tutorial <t3editors:content-elements>`.
Binary file not shown.

Documentation/Images/AutomaticScreenshots/ContentMappingPreviewPage.rst.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

Documentation/MinimalExample/Index.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,20 @@ Clear all caches and preview the web page.
197197

198198
Learn more about using Fluid Templates in chapter :ref:`fluid-templates`.
199199

200+
.. _cm-preview-page:
201+
202+
Preview page
203+
============
204+
205+
Whenever we have made changes to the Fluid templates or TypoScript files, it is
206+
necessary to :guilabel:`Flush frontend caches` in the menu in the
207+
top bar before you can preview the page properly:
208+
209+
.. include:: /Images/AutomaticScreenshots/FlushFrontendCaches.rst.txt
210+
211+
You can then preview your page by clicking on the button :guilabel:`View webpage`
212+
in the page module.
213+
200214
.. _extension-configuration-composer:
201215

202216
Composer configuration :file:`composer.json`

0 commit comments

Comments
 (0)