Project

General

Profile

Actions

Bug #59171

closed

Subheader visibility depends on doctype

Added by Torsten Crass about 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2014-05-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

if I am not mistaken, the decision for which content element types a subheader gets rendered depends on whether the doctype is html5 or not.

Assuming we have a non-empty subheader and we are not talking about an old-style mailform, if config.doctype is html5, then the condition in lib.stdheader.20.if turns true, and the HTML5 subheader gets rendered (and also wrapped by lib.stdheader.stdWrap.dataWrap).

On the other hand, when config.doctype does not equal html5, subheaders get only rendered for content elements of cType "header", since then tt_content.header.20.if becomes true.

I don't know if this is a bug or supposed to be a feature, but I'd expect the decision whether or not to render a subheader should be consistently made independently from the current doctype.

Regards --

-- Torsten

Actions

Also available in: Atom PDF