Project

General

Profile

Actions

Feature #99203

closed

Re-introduce easy possibility to add paths via TypoScript

Added by Josef Glatz almost 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Start date:
2022-11-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
composer, typo3-composer-installer
Complexity:
Sprint Focus:

Description

Problem/Description

When TYPO3 composer installers v4 and v5 are the defacto standard in the next couple of months a simple TypoScript function OR stdWrap function OR cObject would help a lot when an integrator want to include any™ kind of Text/HTML/... e.g. in the <HEAD /> section of the HTML document.

An example

(found in an long living TYPO3 project where the next TYPO3 version must use TYPO3 Composer Installer v5)

page = PAGE
page {
    headerData {
        100 = TEXT
        100.value = <link rel="preload" as="font" type="font/woff2" href="typo3conf/ext/theme/Resources/Public/Fonts/Inter-Regular.woff2" crossorigin>
        110 = TEXT
        110.value = <link rel="preload" as="font" type="font/woff2" href="typo3conf/ext/theme/Resources/Public/Fonts/Inter-SemiBold.woff2" crossorigin>
        120 = TEXT
        120.value = <link rel="preload" as="font" type="font/woff2" href="typo3conf/ext/theme/Resources/Public/Fonts/orion-font.woff2" crossorigin>
    }
}

Maybe I forgot all my TypoScript skills, but actually I don't know how to easily migrate that to make it bulletproof™

1. ToDo(s)

  • It would be very helpful if an integrator can simple use the EXT:... syntax that the resulting (somehow cryptic) path get's adopted.

Acceptance Criteria

A TYPO3 integrator should have a straight forward solution to add paths for files (in the frontend) which supports the EXT:... syntax.


Related issues 5 (1 open4 closed)

Related to TYPO3 Core - Feature #99340: Add stdWrap to config.additionalHeaders.10.headerRejected2022-12-11

Actions
Related to TYPO3 Core - Feature #103617: Cache busting parameter for f:uri.resource via createVersionNumberedFilename()Closed2024-04-12

Actions
Related to TYPO3 Core - Task #104640: Highlight relevant code snippets in changelogClosedChris Müller2024-08-15

Actions
Related to TYPO3 Core - Bug #104807: getText path broken for extension paths in v12Closed2024-09-03

Actions
Related to TYPO3 Core - Bug #105403: f:image and cache busting issueNew2024-10-23

Actions
Actions

Also available in: Atom PDF