Task #80149
closed
Remove $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']
Added by Oliver Hader over 7 years ago.
Updated about 6 years ago.
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.
- Status changed from New to Under Review
- Description updated (diff)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- 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
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(|);
}
}
}
- Related to Feature #83863: Add language property for references of FILES cObject / levelmedia added
- Status changed from Resolved to Closed
Also available in: Atom
PDF