Feature #40986
closedAdd a TS option to disable body tag generation
100%
Description
When using TemplaVoila for page generation, you sometimes need to be able to set classes directly on the body tag from within TemplaVoila. Thus TV needs to generate the page's <body> tag.
Unfortunately, TYPO3 itself generates the <body> tag, too - so we have 2 body tags in the HTML document. To solve this problem, TYPO3 needs a way to not generate a <body> tag.
The attached patch introduces the "config.disableBodyTag" TypoScript option. When it is set, TYPO3's page generator does not generate a <body> tag at all.
Usage:
config.disableBodyTag = 1
Files
Updated by Gerrit Code Review about 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/14656
Updated by Gerrit Code Review about 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/14657
Updated by Gerrit Code Review about 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14685
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14685
Updated by Christian Weiske about 12 years ago
Updated by Gerrit Code Review about 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14685
Updated by Gerrit Code Review about 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14685
Updated by Michael Kunze almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6f505d48357c4cd7643aef3990b284c932a0a5d3.
Updated by Chris topher almost 12 years ago
- Subject changed from page generation: TS config to not generate body tag automatically to Add a TS option to disable body tag generation
- Target version set to 6.1.0
Updated by Oliver Hader over 11 years ago
- Target version changed from 6.1.0 to 6.1.0-alpha1
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed