Project

General

Profile

Actions

Bug #53305

closed

Epic #61834: Create future proof Content Element with strong default

Task #61836: Reorganize Content Element properties within backend Extension

Task #61842: Refactor CSS-Styled-Content + Content Elements

HTML5 rendering of headers works only if a date is set

Added by Wolfgang Wagner over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2013-11-04
Due date:
% Done:

0%

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

Description

The HTML5 rendering of a header works only, if I set a date in the content element (see attached screenshot).

I think, the reason is the typoscript of lib.stdheader in CSC:

lib.stdheader {
.
.
.

stdWrap {
        dataWrap = <div class="csc-header csc-header-n{cObj:parentRecordNumber}">|</div>
        dataWrap {
            override = <header class="csc-header csc-header-n{cObj:parentRecordNumber}">|</header>
            override {
                if {
                    isTrue {
                        field = date
                    }
                    value = html5
                    equals.data = TSFE:config|config|doctype
                }
            }
        }
    }

}

Why is there isTrue.field = date?

Version: TYPO3 6.2-dev, latest from Git


Files

2013-11-04_12-17-48.png (42.2 KB) 2013-11-04_12-17-48.png Wolfgang Wagner, 2013-11-04 12:28

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #47575: header element is rendered in lib.stdheader for all casesClosedPatrick Broens2013-04-25

Actions
Actions

Also available in: Atom PDF