Project

General

Profile

Actions

Feature #91499

closed

Additional attributes for includeJS, includeCSS and all others include**

Added by Christian Stern over 4 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
PHP Version:
Tags:
includeJS, attribute
Complexity:
easy
Sprint Focus:

Description

Services like usercentrics wants to add special data-attributes like usercentrics="Google Analytics" to assets included on a page.

The service wants <script> looks like this:

<script type="text/plain" data-usercentrics="Google Analytics" async="" src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X"></script>

With page.includeJS it is not possible to add this attribute via TypoScript-setup.

This would make similar integrations much more simpler.


Related issues 4 (1 open3 closed)

Related to TYPO3 Core - Bug #98626: Filter if conditions before creating tags in PageRendererClosed2022-10-16

Actions
Related to TYPO3 Core - Bug #100954: Additional attributes for page.include** partially brokenClosed2023-06-03

Actions
Related to TYPO3 Core - Feature #89781: Add data attributes to JavaScript filesClosed2019-11-26

Actions
Related to TYPO3 Core - Task #103882: unify additionalAttributes with includeCSS / includeJSNew2024-05-23

Actions
Actions #1

Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #2

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #3

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #4

Updated by Gerrit Code Review over 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #5

Updated by Gerrit Code Review over 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #6

Updated by Gerrit Code Review over 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #7

Updated by Benni Mack almost 4 years ago

  • Target version changed from 11.0 to Candidate for Major Version
Actions #8

Updated by Gerrit Code Review almost 3 years ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #9

Updated by Gerrit Code Review almost 3 years ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #10

Updated by Bastian Holzem almost 3 years ago

type should also be possible to set

Actions #11

Updated by Claus Harup almost 3 years ago

I was really hoping for this to be included in 10 & 11 source code...... 11.01.2022 :-(

Actions #12

Updated by Gerrit Code Review almost 3 years ago

Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #13

Updated by Gerrit Code Review almost 3 years ago

Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #14

Updated by Gerrit Code Review almost 3 years ago

Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #15

Updated by Gerrit Code Review over 2 years ago

Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #16

Updated by Gerrit Code Review over 2 years ago

Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #17

Updated by Gerrit Code Review over 2 years ago

Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #18

Updated by Gerrit Code Review over 2 years ago

Patch set 15 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #19

Updated by Gerrit Code Review about 2 years ago

Patch set 16 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #20

Updated by Gerrit Code Review about 2 years ago

Patch set 17 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #21

Updated by Gerrit Code Review about 2 years ago

Patch set 18 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #22

Updated by Gerrit Code Review about 2 years ago

Patch set 19 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #23

Updated by Gerrit Code Review about 2 years ago

Patch set 20 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65008

Actions #24

Updated by Jan Stockfisch about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #25

Updated by Oliver Hader about 2 years ago

  • Related to Bug #98626: Filter if conditions before creating tags in PageRenderer added
Actions #26

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions #27

Updated by Oliver Hader over 1 year ago

  • Related to Bug #100954: Additional attributes for page.include** partially broken added
Actions #28

Updated by Riccardo De Contardi over 1 year ago

  • Related to Feature #89781: Add data attributes to JavaScript files added
Actions #29

Updated by Markus Volkmer 6 months ago

  • Related to Task #103882: unify additionalAttributes with includeCSS / includeJS added
Actions

Also available in: Atom PDF