TCEForms extraFormHeaders do not work with docheaders
TCEForms has the possibility to set extraFormHeaders that are included above the editing form. In templates/alt_doc.html, the ###EXTRAHEADER### is included as part of typo3-docheader so that content from the editing form always scrolls behind it.
The problem is that the docbody has an absolute position so adding extra rows to the header does not push the actual editing form down.
I can see two options to work around this...
#1 - Move ###EXTRAHEADER### outside the docheader so that it scrolls behind the header just like other content
I'm attaching a screenshot and a sample extension that adds extra headers to all records.
(issue imported from #M7768)
Updated by Steffen Kamper about 13 years ago
i can confirm this. The problem is here:
padding: 2% 0% 2% 2%;
You see that the div is alwas 51px from top, ignoring height of docheader.
I solved it in the pagetree filter-hiding with a additional marker in the docbody-div for inline style adding the needed margin.