Project

General

Profile

Actions

Bug #25281

closed

Backend layouts: loading from rootline only

Added by Tomas Mrozek about 13 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2011-03-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #61677: Showing BackendLayouts in Dropdown ignores StoragePage and permissionClosed2014-09-17

Actions
Actions #1

Updated by Riccardo De Contardi almost 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

Actions #2

Updated by Riccardo De Contardi over 8 years ago

Still present on 7.6-dev (latest master). The dropdown lists all the layouts, even the backend layouts created in custom workspaces

Actions #3

Updated by Riccardo De Contardi over 8 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

Actions #4

Updated by Riccardo De Contardi over 8 years ago

  • Category set to Backend User Interface
  • Target version set to Candidate for Major Version
Actions #5

Updated by Georg Ringer almost 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
            }
        }
    }
}

Actions

Also available in: Atom PDF