Project

General

Profile

Actions

Bug #95173

closed

getTSFE().type not working

Added by Dennis Metz over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2021-09-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I am attempting to use the condition [getTSFE().type == 1234],
however it is executed no matter never.

My setup looks something like this:

[getTSFE().type == 1234]
    // Settings
[END]

The whole thing is called via:
domain.tld/?type=1234&morParams...

Setup:
  • TYPO3 9.5.30
  • PHP 7.4.23
  • Apache/2.4.41 (Ubuntu)
Actions #1

Updated by Oliver Hader over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Benni Mack over 2 years ago

  • Status changed from New to Needs Feedback

Syntax looks OK. Can you check if this works in TYPO3 v10/v11 please?

Actions #3

Updated by Dennis Metz over 2 years ago

Benni Mack wrote in #note-2:

Syntax looks OK. Can you check if this works in TYPO3 v10/v11 please?

In the 10.4.21 it works.
Since I could update the system meanwhile completely this fits for me.

Actions #4

Updated by Benni Mack over 2 years ago

  • Status changed from Needs Feedback to Closed

Thanks for the feedback!

Actions

Also available in: Atom PDF