Skip to content

Commit

Permalink
[TASK] Remove deprecated TCEforms flexform XML element (#1434)
Browse files Browse the repository at this point in the history
Using TCEforms within Flexform definitions has been deprecated in
v12 and removed in v13:

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Deprecation-97126-TCEformsRemovedInFlexForm.html
  • Loading branch information
garvinhicking authored Oct 17, 2023
1 parent 9125f1f commit 6f3e3c2
Show file tree
Hide file tree
Showing 9 changed files with 380 additions and 440 deletions.
34 changes: 15 additions & 19 deletions Configuration/FlexForms/Accordion.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,24 @@
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:settings</sheetTitle>
</TCEforms>
<sheetTitle>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:settings</sheetTitle>
<type>array</type>
<el>
<default_element>
<TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:accordion.default_element
</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<foreign_table>tx_bootstrappackage_accordion_item</foreign_table>
<foreign_table_where>AND tx_bootstrappackage_accordion_item.tt_content = ###THIS_UID###</foreign_table_where>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">None</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:accordion.default_element
</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<foreign_table>tx_bootstrappackage_accordion_item</foreign_table>
<foreign_table_where>AND tx_bootstrappackage_accordion_item.tt_content = ###THIS_UID###</foreign_table_where>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">None</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
</items>
</config>
</default_element>
</el>
</ROOT>
Expand Down
132 changes: 61 additions & 71 deletions Configuration/FlexForms/BackgroundImage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,86 +6,76 @@
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:settings</sheetTitle>
</TCEforms>
<sheetTitle>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:settings</sheetTitle>
<type>array</type>
<el>
<behaviour>
<TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.behaviour</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default></default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.behaviour.cover</numIndex>
<numIndex index="1">cover</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.behaviour.pattern</numIndex>
<numIndex index="1">pattern</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.behaviour</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default></default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.behaviour.cover</numIndex>
<numIndex index="1">cover</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.behaviour.pattern</numIndex>
<numIndex index="1">pattern</numIndex>
</numIndex>
</items>
</config>
</behaviour>
<parallax>
<TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.parallax</label>
<config>
<type>check</type>
<default>0</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.parallax.description</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.parallax</label>
<config>
<type>check</type>
<default>0</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.parallax.description</numIndex>
</numIndex>
</items>
</config>
</parallax>
<fade>
<TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.fade</label>
<config>
<type>check</type>
<default>0</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.fade.description</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.fade</label>
<config>
<type>check</type>
<default>0</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.fade.description</numIndex>
</numIndex>
</items>
</config>
</fade>
<filter>
<TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default></default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.none</numIndex>
<numIndex index="1"></numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.blur</numIndex>
<numIndex index="1">blur</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.grayscale</numIndex>
<numIndex index="1">grayscale</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.sepia</numIndex>
<numIndex index="1">sepia</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default></default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.none</numIndex>
<numIndex index="1"></numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.blur</numIndex>
<numIndex index="1">blur</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.grayscale</numIndex>
<numIndex index="1">grayscale</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.background_image.filter.sepia</numIndex>
<numIndex index="1">sepia</numIndex>
</numIndex>
</items>
</config>
</filter>
</el>
</ROOT>
Expand Down
96 changes: 45 additions & 51 deletions Configuration/FlexForms/CardGroup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,62 +6,56 @@
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:settings</sheetTitle>
</TCEforms>
<sheetTitle>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:settings</sheetTitle>
<type>array</type>
<el>
<align>
<TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default>left</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align.left</numIndex>
<numIndex index="1">left</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align.center</numIndex>
<numIndex index="1">center</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align.right</numIndex>
<numIndex index="1">right</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default>left</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align.left</numIndex>
<numIndex index="1">left</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align.center</numIndex>
<numIndex index="1">center</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.align.right</numIndex>
<numIndex index="1">right</numIndex>
</numIndex>
</items>
</config>
</align>
<columns>
<TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.columns</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default>2</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">1</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">2</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">3</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">4</numIndex>
<numIndex index="1">4</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
<label>LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:content_element.card_group.columns</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<default>2</default>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">1</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">2</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">3</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">4</numIndex>
<numIndex index="1">4</numIndex>
</numIndex>
</items>
</config>
</columns>
</el>
</ROOT>
Expand Down
Loading

0 comments on commit 6f3e3c2

Please sign in to comment.