Feature #34621
closedAllow <INCLUDE_TYPOSCRIPT to include directories (recursive)
100%
Description
You can already include Typoscript files like this:
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:mysite/Typoscript/setup.ts">
I (and I suppose many others) like to organize my Typoscript in a series of files (one for each plugin, lib, one for general config, etc.) in subdirectories. To do this, you need to maintain a file (or record) with all include tags.
Therefor I propose a new feature:
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:mysite/Typoscript">
Functionality:
This will include all files from directory EXT:mysite/Typoscript, including sub-directories.
The order in which files are included is: first directories, then files, both alphabetically.
Only files with Typoscript-extensions (ts, t3, t3s, t3c, txt) are included, configurable in the installtool: $TYPO3_CONF_VARS['SYS']['tsfile_ext']
(The function checkIncludeLines in class.t3lib_tsparser.php needed quite a rewrite but all existing functionality should be 100% identical to what it was.)
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9431
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9431
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9431
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9431
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13005
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9431
Updated by Gerrit Code Review almost 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9431
Updated by Gerrit Code Review almost 12 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9431
Updated by Gerrit Code Review over 11 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9431
Updated by Gerrit Code Review over 11 years ago
Patch set 9 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9431
Updated by Gerrit Code Review over 11 years ago
Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9431
Updated by Gerrit Code Review over 11 years ago
Patch set 11 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9431
Updated by Gerrit Code Review over 11 years ago
Patch set 12 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9431
Updated by Loek Hilgersom over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f6b05179d2196c51d1d642e1c65270346d205acb.
Updated by Chris topher over 11 years ago
- Subject changed from Allow <TYPOSCRIPT_INCLUDE to include directories (recursive) to Allow <INCLUDE_TYPOSCRIPT to include directories (recursive)
- Target version set to 6.2.0
Updated by d.ros no-lastname-given about 10 years ago
Shouldn´t be this also available for pageTS and userTS?
Afais it is not.
Updated by d.ros no-lastname-given about 10 years ago
UDPATE -> MY BAD. WORKS.
->
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="DIR:EXT:extname/Configuration/TS_CONFIG_PAGE" extensions="ts">'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('<INCLUDE_TYPOSCRIPT: source="DIR:EXT:extname/Configuration/TS_CONFIG_USER" extensions="ts">');
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed