Project

General

Profile

Actions

Feature #40986

closed

Add a TS option to disable body tag generation

Added by Michael Kunze about 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
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

class.tslib_pagegen.php.patch (4.12 KB) class.tslib_pagegen.php.patch Michael Kunze, 2012-09-17 11:43
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #6

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

Actions #7

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

Actions #8

Updated by Michael Kunze almost 12 years ago

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

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
Actions #10

Updated by Oliver Hader over 11 years ago

  • Target version changed from 6.1.0 to 6.1.0-alpha1
Actions #11

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF