This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Turn subproperties into confvals (#519)
This is a preparation for TYPO3-Documentation/Changelog-To-Doc#801 Subproperties can then be linked and deprecated separately. Releases: main, 12.4, 11.5
- Loading branch information
Showing
3 changed files
with
130 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
Documentation/PageTsconfig/Mod/_newContentElementWizard.tsconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Add a new element (header) to the "common" group | ||
mod.wizards.newContentElement.wizardItems.common.elements.header { | ||
iconIdentifier = content-header | ||
title = Header | ||
description = Adds a header element only | ||
tt_content_defValues { | ||
CType = header | ||
} | ||
} | ||
mod.wizards.newContentElement.wizardItems.common.show := addToList(header) |
19 changes: 19 additions & 0 deletions
19
Documentation/PageTsconfig/Mod/_newContentElementWizardGroup.tsconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Create a new group and add a (pre-filled) element to it | ||
mod.wizards.newContentElement.wizardItems.myGroup { | ||
header = LLL:EXT:cms/layout/locallang.xlf:advancedFunctions | ||
elements.customText { | ||
iconIdentifier = content-text | ||
title = Introductory text for national startpage | ||
description = Use this element for all national startpages | ||
tt_content_defValues { | ||
CType = text | ||
bodytext ( | ||
<h2>Section Header</h2> | ||
<p class="bodytext">Lorem ipsum dolor sit amet, consectetur, sadipisci velit ...</p> | ||
) | ||
header = Section Header | ||
header_layout = 100 | ||
} | ||
} | ||
} | ||
mod.wizards.newContentElement.wizardItems.myGroup.show = customText |