Skip to content

Commit

Permalink
[BUGFIX] v9: Add l10n exclude to own page fields
Browse files Browse the repository at this point in the history
Till yet page overlaying was done in an extra table but
pages_language_overlay got removed with TYPO3 v9 LTS so we need to
prevent overlaying this fields. For tt_content it is managed in an other
way, so there is no change needed.

Releases: 8.0.0, 7.3.3
Resolves: #266 #246
  • Loading branch information
Alexander Opitz committed Feb 21, 2020
1 parent fd85bd5 commit abab3f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
'tx_templavoilaplus_ds' => array(
'exclude' => 1,
'label' => 'LLL:EXT:templavoilaplus/Resources/Private/Language/locallang_db.xlf:pages.tx_templavoilaplus_ds',
'l10n_mode' => 'exclude',
'config' => array(
'type' => 'select',
'renderType' => 'selectSingle',
Expand All @@ -24,6 +25,7 @@
'exclude' => 1,
'label' => 'LLL:EXT:templavoilaplus/Resources/Private/Language/locallang_db.xlf:pages.tx_templavoilaplus_to',
'displayCond' => 'FIELD:tx_templavoilaplus_ds:REQ:true',
'l10n_mode' => 'exclude',
'config' => array(
'type' => 'select',
'renderType' => 'selectSingle',
Expand All @@ -41,6 +43,7 @@
'tx_templavoilaplus_next_ds' => array(
'exclude' => 1,
'label' => 'LLL:EXT:templavoilaplus/Resources/Private/Language/locallang_db.xlf:pages.tx_templavoilaplus_next_ds',
'l10n_mode' => 'exclude',
'config' => array(
'type' => 'select',
'renderType' => 'selectSingle',
Expand All @@ -59,6 +62,7 @@
'tx_templavoilaplus_next_to' => array(
'exclude' => 1,
'label' => 'LLL:EXT:templavoilaplus/Resources/Private/Language/locallang_db.xlf:pages.tx_templavoilaplus_next_to',
'l10n_mode' => 'exclude',
'displayCond' => 'FIELD:tx_templavoilaplus_next_ds:REQ:true',
'config' => array(
'type' => 'select',
Expand All @@ -77,6 +81,7 @@
'tx_templavoilaplus_flex' => array(
'exclude' => 1,
'label' => 'LLL:EXT:templavoilaplus/Resources/Private/Language/locallang_db.xlf:pages.tx_templavoilaplus_flex',
'l10n_mode' => 'exclude',
'config' => array(
'type' => 'flex',
'ds_pointerField' => 'tx_templavoilaplus_ds',
Expand Down

0 comments on commit abab3f2

Please sign in to comment.