Skip to content

Commit 4a17a4c

Browse files
Update site set settings page (#279)
* Update EmptyInstallation.png Update version and project name * Update PageModule.png Update TYPO3 version (not -dev) And foolowing tutorial, recycler extension is installed * [SiteSetSetting] Update site set settings page
1 parent e53248b commit 4a17a4c

File tree

6 files changed

+30
-32
lines changed

6 files changed

+30
-32
lines changed

Documentation/CodeSnippets/ExtensionConfiguration/SitePackage-config.rst.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: myvendor/my-site-package
2+
label: "Example: My Site package"
3+
dependencies:
4+
- typo3/fluid-styled-content
5+
- typo3/fluid-styled-content-css

Documentation/CodeSnippets/ExtensionConfiguration/SitePackage-settings.rst.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
styles:
2+
templates:
3+
layoutRootPath: EXT:my_site_package/Resources/Private/Layouts/ContentElements
4+
partialRootPath: EXT:my_site_package/Resources/Private/Partials/ContentElements
5+
templateRootPath: EXT:my_site_package/Resources/Private/Templates/ContentElements
6+
content:
7+
textmedia:
8+
maxW: 1200
9+
maxWInText: 600
10+
linkWrap:
11+
lightboxEnabled: true
12+
lightboxCssClass: lightbox

Documentation/ContentMapping/Index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ display the content in the next steps.
3131

3232
Your site set configuration should now look like this:
3333

34-
.. include:: /CodeSnippets/ExtensionConfiguration/SitePackage-config.rst.txt
34+
.. literalinclude:: /CodeSnippets/ExtensionConfiguration/SitePackage-config.yaml
35+
:caption: EXT:my_site_package/Configuration/Sets/SitePackage/config.yaml
36+
:language: yaml
37+
:linenos:
3538

3639
.. _cm-dynamic-content-rendering-in-typoscript:
3740
.. _backend-page-layouts:

Documentation/SiteSets/Index.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ to the site sets of :composer:`typo3/cms-fluid-styled-content`.
4040

4141
Your site set configuration should now look like this:
4242

43-
.. include:: /CodeSnippets/ExtensionConfiguration/SitePackage-config.rst.txt
43+
.. literalinclude:: /CodeSnippets/ExtensionConfiguration/SitePackage-config.yaml
44+
:caption: EXT:my_site_package/Configuration/Sets/SitePackage/config.yaml
45+
:language: yaml
46+
:linenos:
4447

4548
Line 1 defines the name of the set. As the example site-package extension only
4649
provides one set, the name of the set should be the same as the
@@ -57,7 +60,7 @@ Your site set folder now contains the following files:
5760
:level: 2
5861
:show-file-icons: true
5962

60-
* site_package/Configuration/Sets/SitePackage
63+
* my_site_package/Configuration/Sets/SitePackage
6164

6265
* config.yaml
6366
* page.tsconfig
@@ -75,7 +78,10 @@ We override some default settings of the site set
7578
:ref:`Site set "Fluid Styled
7679
Content" <typo3/cms-fluid-styled-content:site-set-fluid-styled-content>`:
7780

78-
.. include:: /CodeSnippets/ExtensionConfiguration/SitePackage-settings.rst.txt
81+
.. literalinclude:: /CodeSnippets/ExtensionConfiguration/SitePackage-settings.yaml
82+
:caption: EXT:my_site_package/Configuration/Sets/SitePackage/settings.yaml
83+
:language: yaml
84+
:linenos:
7985

8086
Here we override some values for maximal image width in text-media content
8187
elements, we enable a lightbox for images and set paths for overriding the

0 commit comments

Comments
 (0)