Project

General

Profile

Actions

Bug #103811

closed

lib.contentElement.templateRootPaths. 1200 not loaded in automatic loaded TypoScript

Added by Heinz Schilling 5 months ago. Updated 4 months ago.

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

0%

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

Description

TypoScript is loaded automatically in custom extensions:

call_user_func(function()
{
    ExtensionManagementUtility::addTypoScript(
        'extension_key',
        'setup',
        "@import 'EXT:extension_key/Configuration/TypoScript/setup.typoscript'" 
    );
});

This also works with one exception. lib.contentElement is not taken into account in this way:

lib.contentElement {
  templateRootPaths.1200 = EXT:extension_key/Resources/Private/Templates/
}

Actions

Also available in: Atom PDF