Project

General

Profile

Actions

Bug #71104

closed

Data-Provider for Backend Layouts pagets__ prefixed

Added by ondro no-lastname-given over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2015-10-28
Due date:
% Done:

0%

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

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>

Actions #1

Updated by Wouter Wolters over 8 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

Actions

Also available in: Atom PDF