Skip to content

Commit d811c29

Browse files
committed
[BUGFIX] Regenerate codesnippets for V13
Releases: 13.4
1 parent d20d8af commit d811c29

File tree

14 files changed

+102
-51
lines changed

14 files changed

+102
-51
lines changed

Build/DownloadSitePackage/generate_sitepackage.sh

100644100755
File mode changed.

Documentation/CodeSnippets/my_site_package/Configuration/Sets/SitePackage/PageTsConfig/BackendLayouts/subpage.tsconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
mod {
55
web_layout {
66
BackendLayouts {
7-
Subpage {
7+
subpage {
88
title = LLL:EXT:my_site_package/Resources/Private/Language/locallang_be.xlf:backend_layout.subpage
99
config {
1010
backend_layout {

Documentation/CodeSnippets/my_site_package/Configuration/Sets/SitePackage/PageTsConfig/general.tsconfig

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ TCEFORM {
1414
}
1515

1616
TCEMAIN {
17-
pages {
18-
# Pages will *not* have "(copy)" appended:
19-
disablePrependAtCopy = 1
20-
# Pages will *not* be hidden upon copy:
21-
disableHideAtCopy = 1
22-
}
23-
tt_content {
24-
# Content will *not* have "(copy)" appended:
25-
disablePrependAtCopy = 1
17+
table {
18+
pages {
19+
# Pages will *not* have "(copy)" appended:
20+
disablePrependAtCopy = 1
21+
# Pages will *not* be hidden upon copy:
22+
disableHideAtCopy = 1
23+
}
24+
25+
tt_content {
26+
# Content will *not* have "(copy)" appended:
27+
disablePrependAtCopy = 1
28+
}
2629
}
2730
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
page {
2+
10 {
3+
dataProcessing {
4+
40 = menu
5+
40 {
6+
as = footerMenu
7+
special = directory
8+
special.value = {$MySitePackage.footerMenuRoot}
9+
}
10+
}
11+
}
12+
}

Documentation/CodeSnippets/my_site_package/Configuration/Sets/SitePackage/settings.definitions.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ categories:
77
MySitePackage.layout:
88
label: 'Layout'
99
parent: MySitePackage
10+
MySitePackage.menus:
11+
label: 'Menus'
12+
parent: MySitePackage
1013

1114
settings:
1215
MySitePackage.template_path:
@@ -36,3 +39,10 @@ settings:
3639
category: MySitePackage.layout
3740
type: string
3841
default: 'EXT:my_site_package/Resources/Public/Icons/favicon.ico'
42+
43+
MySitePackage.footerMenuRoot:
44+
label: 'Footer menu root uid'
45+
description: 'The subpages of this page are displayed in the footer'
46+
category: MySitePackage.menus
47+
type: int
48+
default: 2
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
4+
5+
ExtensionManagementUtility::addTcaSelectItemGroup(
6+
'tt_content',
7+
'CType',
8+
'my_site_package',
9+
'LLL:EXT:my_site_package/Resources/Private/Language/locallang_be.xlf:content_element.group.my_site_package',
10+
'after:default',
11+
);

Documentation/CodeSnippets/my_site_package/ContentBlocks/ContentElements/carousel/config.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
name: my-site-package/carousel
22
typeName: my_site_package_carousel
3-
group: default
3+
group: my_site_package
44
prefixFields: true
55
prefixType: full
66
fields:
77
- identifier: carousel_items
88
type: Collection
9-
foreign_field: parentid
9+
minitems: 1
10+
appearance:
11+
collapseAll: true
12+
levelLinksPosition: both
1013
fields:
1114
- identifier: image
1215
type: File
16+
allowed: common-image-types
17+
minitems: 1
18+
relationship: manyToOne
1319
- identifier: header
1420
type: Text
1521
- identifier: description
Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,38 @@
11
<?xml version="1.0"?>
22
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3-
<file datatype="plaintext" original="labels.xlf" source-language="en" date="2024-11-24T18:55:27+00:00" product-name="t3docs/carousel">
4-
<header/>
5-
<body>
6-
<trans-unit id="title" resname="title">
7-
<source>Carousel</source>
8-
</trans-unit>
9-
<trans-unit id="description" resname="description">
10-
<source>See also https://getbootstrap.com/docs/5.0/components/carousel/</source>
11-
</trans-unit>
12-
<trans-unit id="carousel_items.label" resname="carousel_items.label">
13-
<source>Carousel Items</source>
14-
</trans-unit>
15-
<trans-unit id="carousel_items.image.label" resname="carousel_items.image.label">
16-
<source>Image</source>
17-
</trans-unit>
18-
<trans-unit id="carousel_items.header.label" resname="carousel_items.header.label">
19-
<source>Header</source>
20-
</trans-unit>
21-
<trans-unit id="carousel_items.description.label" resname="carousel_items.description.label">
22-
<source>Description</source>
23-
</trans-unit>
24-
<trans-unit id="previous.label" resname="previous.label">
25-
<source>Previous</source>
26-
</trans-unit>
27-
<trans-unit id="next.label" resname="next.label">
28-
<source>Next</source>
29-
</trans-unit>
30-
</body>
31-
</file>
3+
<file datatype="plaintext" original="labels.xlf" source-language="en" date="2024-11-24T18:55:27+00:00" product-name="t3docs/carousel">
4+
<header/>
5+
<body>
6+
<trans-unit id="title" resname="title">
7+
<source>Carousel</source>
8+
</trans-unit>
9+
<trans-unit id="description" resname="description">
10+
<source>See also https://getbootstrap.com/docs/5.0/components/carousel/</source>
11+
</trans-unit>
12+
<trans-unit id="carousel_items.label" resname="carousel_items.label">
13+
<source>Carousel Items</source>
14+
</trans-unit>
15+
<trans-unit id="carousel_items.image.label" resname="carousel_items.image.label">
16+
<source>Image</source>
17+
</trans-unit>
18+
<trans-unit id="carousel_items.header.label" resname="carousel_items.header.label">
19+
<source>Header</source>
20+
</trans-unit>
21+
<trans-unit id="carousel_items.description.label" resname="carousel_items.description.label">
22+
<source>Description</source>
23+
</trans-unit>
24+
<trans-unit id="previous.label" resname="previous.label">
25+
<source>Previous</source>
26+
</trans-unit>
27+
<trans-unit id="next.label" resname="next.label">
28+
<source>Next</source>
29+
</trans-unit>
30+
<trans-unit id="backend.itemCount" resname="backend.itemCount">
31+
<source>Carousel with %s items</source>
32+
</trans-unit>
33+
<trans-unit id="backend.lastUpdated" resname="backend.lastUpdated">
34+
<source>Last updated %s</source>
35+
</trans-unit>
36+
</body>
37+
</file>
3238
</xliff>

Documentation/CodeSnippets/my_site_package/ContentBlocks/ContentElements/jumbotron/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: my-site-package/jumbotron
22
typeName: my_site_package_jumbotron
3-
group: default
3+
group: my_site_package
44
prefixFields: true
55
prefixType: full
66
fields:

Documentation/CodeSnippets/my_site_package/Initialisation/data.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,8 @@
590590
<field index="mount_pid_ol" type="integer">0</field>
591591
<field index="module"></field>
592592
<field index="l18n_cfg" type="integer">0</field>
593-
<field index="backend_layout">pagets__Default</field>
594-
<field index="backend_layout_next_level">pagets__Subpage</field>
593+
<field index="backend_layout">pagets__default</field>
594+
<field index="backend_layout_next_level">pagets__subpage</field>
595595
<field index="tsconfig_includes"></field>
596596
<field index="seo_title"></field>
597597
<field index="no_index" type="integer">0</field>

0 commit comments

Comments
 (0)