Actions
Feature #40986
closedAdd a TS option to disable body tag generation
Start date:
2012-09-17
Due date:
% Done:
100%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:
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
Actions