Issue Feature Closed

#47982INCLUDE_TYPOSCRIPT does not support real relative paths & constants

Gabriel Kaufmann TYPOworx GmbH | NewMedia 05/06/13, 14:40 updated 10/02/18, 12:44

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.