Project

General

Profile

Actions

Bug #79933

closed

TypoScript conditions ignored inside included constants file

Added by Christian Müller about 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
TypoScript
Target version:
-
Start date:
2017-02-21
Due date:
% Done:

0%

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

Description

My example condition:

[userFunc = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('indexed_search')]
  <INCLUDE_TYPOSCRIPT: source="FILE:EXT:indexed_search/Configuration/TypoScript/constants.txt">
[end]

The condition above inside 'ext_key/Configuration/TypoScript/constants.ts' works just fine.
If we use this condition in a separate file e.g. 'ext_key/Configuration/TypoScript/Includes/MoreConst.ts' which was included in the first file (constants.ts),
the following error appears in TypoScript Object Browser:

Warning : File "EXT:indexed_search/Configuration/TypoScript/constants.txt" was not found.

Indexed search is not installed/activated.

Actions

Also available in: Atom PDF