Project

General

Profile

Actions

Bug #96609

closed

Sorting of backend layout rows is not respected in page module (language mode)

Added by Oliver Bartsch almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-01-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
page module
Complexity:
Is Regression:
Sprint Focus:

Description

Having a backend layout like this:

Page {
  title = Page
  config {
    backend_layout {
      colCount = 1
      rowCount = 2
      rows {
        1 {
          columns {
            1 {
              name = Bar
              colPos = 1
            }
          }
        }
        2 {
          columns {
            1 {
              name = Foo
              colPos = 0
            }
          }
        }
      }
    }
  }
}

Will in columns mode be displayed like:

--- Bar ---
--- Foo ---

But will be displayed in languages mode (also for defLangBinding) like:

--- Foo ---
--- Bar ---

The reason seems to be following line:

https://github.com/TYPO3/typo3/blob/main/typo3/sysext/backend/Resources/Private/Partials/PageLayout/LanguageColumns.html#L122

which is used to create the columns but does not consider the order in the backend layout configuration.

Actions #1

Updated by Oliver Bartsch almost 3 years ago

Update:

Reason seems to be the definition of SHARED.colPos_list.

Actions #2

Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73047

Actions #3

Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73152

Actions #4

Updated by Georg Ringer almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF