File tree Expand file tree Collapse file tree 6 files changed +30
-32
lines changed
CodeSnippets/ExtensionConfiguration Expand file tree Collapse file tree 6 files changed +30
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ display the content in the next steps.
3131
3232Your 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 :
Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ to the site sets of :composer:`typo3/cms-fluid-styled-content`.
4040
4141Your 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
4548Line 1 defines the name of the set. As the example site-package extension only
4649provides 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
7679Content" <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
8086Here we override some values for maximal image width in text-media content
8187elements, we enable a lightbox for images and set paths for overriding the
You can’t perform that action at this time.
0 commit comments