Feature #69602

Simplify handling of backend layouts in frontend

Added by Georg Ringer almost 6 years ago. Updated almost 4 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
  }
}
#1

Updated by Gerrit Code Review almost 6 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

#2

Updated by Gerrit Code Review almost 6 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

#3

Updated by Gerrit Code Review almost 6 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

#4

Updated by Gerrit Code Review almost 6 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

#5

Updated by Gerrit Code Review almost 6 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

#6

Updated by Benni Mack almost 6 years ago

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

Updated by Riccardo De Contardi almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF