Bug #25281
closedBackend layouts: loading from rootline only
0%
Description
The backend layouts select boxes in the page properties are currently populated by layouts from all the pages. This is higly undesirable in many scenarios, one of them being hosting of several domains (having different page tree + different layout) in one TYPO3 installation.
It should be possible to set whether the layouts are retrieved from all the pages or just from the rootline.
(issue imported from #M17894)
Updated by Riccardo De Contardi over 9 years ago
- Description updated (diff)
- Target version deleted (
0) - TYPO3 Version changed from 4.5 to 6.2
- Is Regression set to No
the bug is still present in TYPO3 6.2.x:
my test, TYPO3 6.2.12, fresh install
[root]
--[ID=1] Home page
----[ID=2] My page
------[ID=3] My subpage
---- [ID=4] My page 2
1. on [ID=1] Home page, I create a BE layout, I call it "be layout home page" > it is visible in the dropdown "appereance > page layout" of home page
2. on [ID=2] My page, I create a BE layout, I call it "be layout my page"
editing the page, the dropdown "appereance > page layout" contains both layouts, "be layout home page" and "be layout my page"
3. on [ID=3] My page, I create a BE layout, I call it "be layout my sub page"
editing the page, the dropdown "appereance > page layout" contains all layouts, "be layout home page" , "be layout my page", "be layout my sub page"
4. even moving the layouts in some subfolder, this way:
[root]
--[ID=1] Home page
----[ID=2] My page
------[ID=3] My subpage
---- [ID=4] My page 2
---- [ID=5] Sysfolder Layouts 1 contains "be layout home page", "be layout my page"
---- [ID=6] Sysfolder Layouts 2 contains "be layout my sub page"
the situation remains the same: the dropdowns in all the pages contain always all the be layouts records
Updated by Riccardo De Contardi about 9 years ago
Still present on 7.6-dev (latest master). The dropdown lists all the layouts, even the backend layouts created in custom workspaces
Updated by Riccardo De Contardi about 9 years ago
According to #61677 the dropdown of BE Layouts ignores StoragePage and permission, I.E. it shows even the records located into sysfolders that are not accessible to editors
Updated by Riccardo De Contardi almost 9 years ago
- Category set to Backend User Interface
- Target version set to Candidate for Major Version
Updated by Georg Ringer over 6 years ago
- Status changed from New to Closed
I am closing this issue as the DefaultDataProvider is the most simple solution.
As a solution I would suggest to use TsConfig
mod { web_layout { BackendLayouts { exampleKey { title = Example config { backend_layout { colCount = 1 rowCount = 2 rows { 1 { columns { 1 { name = LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos.I.3 colPos = 3 colspan = 1 } } } 2 { columns { 1 { name = Main colPos = 0 colspan = 1 } } } } } } icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif } } } }