-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Respect flexform sheets in BE preview
Show all sheets of a flexform inside the BE preview and also show inages from new "file" TCA type. Resolves: #545 Release: 12.0.0
- Loading branch information
Showing
8 changed files
with
109 additions
and
77 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
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
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
42 changes: 22 additions & 20 deletions
42
Resources/Private/Partials/Backend/Handler/DoktypeDefaultHandler/Node/Childs.html
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 |
---|---|---|
@@ -1,21 +1,23 @@ | ||
<f:if condition="{node.childNodes.sDEF.lDEF}"> | ||
<f:if condition="{node.rendering.beLayout}"> | ||
<f:then> | ||
<f:if condition="{node.rendering.beLayoutDesign}"> | ||
<f:then> | ||
<f:render partial="Backend/Handler/DoktypeDefaultHandler/Node/ChildsDesign" section="renderChildElements" arguments="{fieldConfig: '{node.datastructure.sheets.sDEF.ROOT.el}', childElements: '{node.childNodes.sDEF.lDEF}', childFlexformData: '{node.flexform.data.sDEF.lDEF}', parentPointer: '{node.raw.table}:{node.raw.entity.uid}:sDEF:lDEF:', node: node}" /> | ||
</f:then> | ||
<f:else> | ||
<f:render | ||
partial="Backend/Handler/DoktypeDefaultHandler/Node/ChildsBeLayouts" | ||
section="renderChildElements" | ||
arguments="{fieldConfig: '{node.datastructure.sheets.sDEF.ROOT.el}', childElements: '{node.childNodes.sDEF.lDEF}', childFlexformData: '{node.flexform.data.sDEF.lDEF}', parentPointer: '{node.raw.table}:{node.raw.entity.uid}:sDEF:lDEF:', beLayout: '{node.rendering.beLayout}', subpart: 'CHILD'}" | ||
/> | ||
</f:else> | ||
</f:if> | ||
</f:then> | ||
<f:else> | ||
<f:render partial="Backend/Handler/DoktypeDefaultHandler/Node/ChildsTable" section="renderChildElements" arguments="{fieldConfig: '{node.datastructure.sheets.sDEF.ROOT.el}', childElements: '{node.childNodes.sDEF.lDEF}', childFlexformData: '{node.flexform.data.sDEF.lDEF}', parentPointer: '{node.raw.table}:{node.raw.entity.uid}:sDEF:lDEF:', subpart: 'CHILD'}" /> | ||
</f:else> | ||
<f:for as="childNodesPerSheet" each="{node.childNodes}" key="sheetKey"> | ||
<f:if condition="{childNodesPerSheet.lDEF}"> | ||
<f:if condition="{node.rendering.beLayout}"> | ||
<f:then> | ||
<f:if condition="{node.rendering.beLayoutDesign}"> | ||
<f:then> | ||
<f:render partial="Backend/Handler/DoktypeDefaultHandler/Node/ChildsDesign" section="renderChildElements" arguments="{fieldConfig: '{node.datastructure.sheets.{sheetKey}.ROOT.el}', childElements: '{childNodesPerSheet.lDEF}', childFlexformData: '{node.flexform.data.{sheetKey}.lDEF}', parentPointer: '{node.raw.table}:{node.raw.entity.uid}:{sheetKey}:lDEF:', node: node}" /> | ||
</f:then> | ||
<f:else> | ||
<f:render | ||
partial="Backend/Handler/DoktypeDefaultHandler/Node/ChildsBeLayouts" | ||
section="renderChildElements" | ||
arguments="{fieldConfig: '{node.datastructure.sheets.{sheetKey}.ROOT.el}', childElements: '{childNodesPerSheet.lDEF}', childFlexformData: '{node.flexform.data.{sheetKey}.lDEF}', parentPointer: '{node.raw.table}:{node.raw.entity.uid}:{sheetKey}:lDEF:', beLayout: '{node.rendering.beLayout}', subpart: 'CHILD'}" | ||
/> | ||
</f:else> | ||
</f:if> | ||
</f:then> | ||
<f:else> | ||
<f:render partial="Backend/Handler/DoktypeDefaultHandler/Node/ChildsTable" section="renderChildElements" arguments="{fieldConfig: '{node.datastructure.sheets.{sheetKey}.ROOT.el}', childElements: '{childNodesPerSheet.lDEF}', childFlexformData: '{node.flexform.data.{sheetKey}.lDEF}', parentPointer: '{node.raw.table}:{node.raw.entity.uid}:{sheetKey}:lDEF:', subpart: 'CHILD'}" /> | ||
</f:else> | ||
</f:if> | ||
</f:if> | ||
</f:if> | ||
</f:for> |
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
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
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
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