Project

General

Profile

Actions

Bug #71113

closed

FLUIDTEMPLATE does not evalute templateName stdWrap if no templateName is given

Added by Markus Klein over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Fluid
Target version:
Start date:
2015-10-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

Using a configuration like

page.10 = FLUIDTEMPLATE
page.10 {

  # select template based on backend layout
  templateName.stdWrap.cObject = CASE
  templateName.stdWrap.cObject {
    key.data = pagelayout

    default = TEXT
    default.value = Subpage

    1 = TEXT
    1.value = Index
  }
}

does not work, since the code only evaluates the templateName stdWrap if templateName is set to a value directly.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #66111: Add TemplateRootPaths support to cObject FLUIDTEMPLATEClosed2015-03-28

Actions
Actions #1

Updated by Gerrit Code Review over 8 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 https://review.typo3.org/44343

Actions #2

Updated by Markus Klein over 8 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF