Project

General

Profile

Actions

Feature #47982

closed

INCLUDE_TYPOSCRIPT does not support real relative paths & constants

Added by Gabriel Kaufmann / Typoworx NewMedia about 11 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Category:
TypoScript
Target version:
-
Start date:
2013-05-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

The "INCLUDE_TYPOSCRIPT"-Tag to include external TypoScript does not seem to support "real" relative paths.

Example:

Works:

<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/base/mySetup.txt">

While this condition (inside of mySetup.txt) does not work:

# [ Inside mySetup.txt]

<INCLUDE_TYPOSCRIPT: source="FILE:../anotherSetup.txt">

I would have expected that TYPO3 resolves the relative path given by "FILE:../" to the upper directory of "mySetup.txt". But it doesn't.

In some cases this would be very flexible and handy.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #47985: INCLUDE_TYPOSCRIPT does not resolve TS-ConstantsRejected2013-05-06

Actions
Is duplicate of TYPO3 Core - Feature #52018: TypoScript: Allow relative file inclusionClosedPhilipp Gampe2013-09-15

Actions
Actions

Also available in: Atom PDF