Project

General

Profile

Actions

Feature #99203

open

Re-introduce easy possibility to add paths via TypoScript

Added by Josef Glatz over 1 year ago. Updated 5 days ago.

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

0%

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 2 (2 open0 closed)

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

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

Actions
Actions

Also available in: Atom PDF