Task #80149
closedRemove $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']
100%
Description
The configuration $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']
is removed from the default configuration as well as from the overlay
handling in PageRepository and RootlineUtility. This setting has been
used to determine overlay fields in the table pages_language_overlay at
a time in the runtime processing when the complete TCA was not fully
available. Since the allowLanguageSynchronization possibility has been
integrated into TYPO3 CMS 8, l10n_mode was available already and the TCA
is loaded as well, the pageOverlayFields settings are superfluous.
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51954
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51954
Updated by Oliver Hader over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset bce9a83841088483746f422dbe39c5fa1cee5861.
Updated by Joe Jones about 7 years ago
- Priority changed from Should have to Must have
Hallo Oliver,
thank you for your Work. This issue makes me helpless. I want the page media fallback to the standard language. Once it was possible with adding the field to pageOverlayFields, but since 8.7 this Configuration is removed. In the Changelog you have a hint to the Migration, but I do not get it. In the documentation there also is no point about this.
headerimage = FILES headerimage { references { table = pages data = levelmedia: -1, slide fieldName = media } begin = 0 maxItems = 1 renderObj = TEXT renderObj { data = file:current:publicUrl wrap = background-image:url(|); } }
What has to be change, that TYPO3 takes the page.media from the standard language, if there is no page.media in the L1-version. This should consider the sliding as well.
Thanks and sorry for asking a maybe stupid question this way.
Martin
Updated by Benjamin Robinson almost 7 years ago
The problem ist that references of FILES does not allow a languageField query.
Here's a workaround, but without any "slide":
headerimage = CONTENT headerimage{ table = sys_file_reference select{ pidInList = this where = tablenames='pages' AND fieldname='media' orderBy = sorting_foreign languageField = 0 selectFields = uid_local } renderObj = FILES renderObj{ files.stdWrap.field = uid_local renderObj = IMG_RESOURCE renderObj{ file.import.data = file:current:publicUrl stdWrap.wrap = background-image:url(|); } } }
Updated by Benjamin Robinson almost 7 years ago
- Related to Feature #83863: Add language property for references of FILES cObject / levelmedia added