-
Claus Due authored
This patch fixes an issue with mod.web_layout.defLangBinding = 1 which when enabled would cause the page layout module to render the "new content" buttons when this was not desired. The fixes consist of: * A change to make sure that Fluid variable {column} contains the right language ID in the PageLayoutContext associated with the column; by re-assigning {column} within the loop over {languageColumns} in LanguageColumns.html * Re-overwriting the {column} variable after the loop to ensure it holds the default language column which holds the default language column's content records that are iterated over. * Overwriting the {column} variable within the loop that renders each content record to ensure it holds the correct language ID in the column's PageLayoutContext. * Assigning the right PageLayoutContext to translated versions of content records to ensure that the "new content" button below each translated content element points to the right language UID. * A visual alignment fix setting valign="top" on TD elements to ensure the alignment of each content record and the column header, when the "new content" button is not shown. Resolves: #94047 Releases: master, 10.4 Change-Id: Ia169f9c649db8df9b1ec11aeeb23cebed27308e0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70718 Tested-by:core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
f1a7c540