Project

General

Profile

Actions

Feature #69602

closed

Simplify handling of backend layouts in frontend

Added by Georg Ringer about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-09-08
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

To avoid complex TypoScript for all integrators, simplify the way to get the desired backend layout.

Currently you need a TypoScript code like


page.10 = FLUIDTEMPLATE
page.10 {
  file.stdWrap.cObject = CASE
  file.stdWrap.cObject {
    key.data = levelfield:-2,backend_layout_next_level,slide
    key.override.field = backend_layout

    default = TEXT
    default.value = fileadmin/template/home.html

    3 = TEXT
    3.value = fileadmin/template/1-col.html

    4 = TEXT
    4.value = fileadmin/template/2-col.html
  }
}

now it is getting easier by using


page.10 = FLUIDTEMPLATE
page.10 {
  file.stdWrap.cObject = CASE
  file.stdWrap.cObject {
    key.data = backend_layout

    default = TEXT
    default.value = fileadmin/template/home.html

    3 = TEXT
    3.value = fileadmin/template/1-col.html

    4 = TEXT
    4.value = fileadmin/template/2-col.html
  }
}
Actions #1

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43116

Actions #2

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42723

Actions #3

Updated by Gerrit Code Review about 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42723

Actions #4

Updated by Gerrit Code Review about 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42723

Actions #5

Updated by Gerrit Code Review about 9 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42723

Actions #6

Updated by Benni Mack about 9 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF