Review TYPO3_4-7 Abandoned

14657[FEATURE] TS config to not generate body tag automatically

Michael Kunze CR 0 V 0 Easy +24 −20 updated 06/03/13, 20:49

Commit message

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.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 1