Bug #71104
closedData-Provider for Backend Layouts pagets__ prefixed
0%
Description
Hey
I'm testing latest version of Typo3 CMS v7.5 and trying to use Data-Provider for Backend Layouts
I use following example
When I use this layout in database -> table pages -> field backend_layout is stored "pagets__exampleKey"
Why?
It's bug? or feature?
When I want to use FLUIDTEMPLATE I have following config, and of course it's not working while I prefix exampleKey with "pagets__exampleKey"
temp.layout = FLUIDTEMPLATE temp.layout { file { stdWrap.cObject = CASE stdWrap.cObject { key.data = pagelayout exampleKey = TEXT exampleKey.value = EXT:some_ext/Resources/Private/Templates/BeLayouts/Example.html default = TEXT default.value = EXT:some_ext/Resources/Private/Templates/BeLayouts/Default.html } } partialRootPath = EXT:some_ext/Resources/Private/Partials/ layoutRootPath = EXT:some_ext/Resources/Private/Layouts/ }<pre>
Updated by Wouter Wolters almost 9 years ago
- Status changed from New to Closed
pagets__exampleKey is a combined identifier.
Which is e.g. "myextension_regular" and "myextension" is the identifier of the accordant data provider and "regular" the identifier of the accordant backend layout.
You need to use pagets__exampleKey in your FLUIDTEMPLATE code.
See for an example: https://github.com/benjaminkott/bootstrap_package/blob/master/Configuration/TypoScript/setup.txt#L345