Task #86854

Allow adding custom attributes on HTML-Tag

Added by Benjamin Kott 3 months ago. Updated 4 days ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-11-05
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

We need to be compatible with new html technologies the possibility to add custom attributes to the html tag of the typo3 pagerenderer is nessesary.
The only existing option currently is to rewrite all attributes, but that would also mean that we would loose already existing attributes like "lang".

Example:

<html amp="true" class="no-js" lang="en">
...


Related issues

Related to TYPO3 Core - Bug #86872: Add class of html tag to site configuration Closed 2018-11-06
Related to TYPO3 Core - Bug #87033: config.htmlTag_setParams overrides all existing attributes Resolved 2018-11-29

History

#1 Updated by Gerrit Code Review 3 months 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/58843

#2 Updated by Gerrit Code Review 3 months 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/58843

#3 Updated by Georg Ringer 3 months ago

  • Related to Bug #86872: Add class of html tag to site configuration added

#4 Updated by Gerrit Code Review 2 months 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/58843

#5 Updated by Gerrit Code Review about 2 months 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/58843

#6 Updated by Riccardo De Contardi 4 days ago

  • Related to Bug #87033: config.htmlTag_setParams overrides all existing attributes added

#7 Updated by Riccardo De Contardi 4 days ago

  • Status changed from Under Review to Closed

@Benjamin Kott this one has been solved with https://review.typo3.org/#/c/58976/

I hope you don't mind if I close it; If I am wrong and there is still work to be done here please reopen it or ping me and I'll do.

Also available in: Atom PDF