Search code examples
typo3typoscripttemplavoila

Prevent rendering of TYPO3 default heading of FCE


In FCE I dont want to use default TYPO3 elements like header, link etc. So I hide it with the following ts config:

    TCEFORM.tt_content {
    header.types.templavoila_pi1.disabled = 1
    header_position.types.templavoila_pi1.disabled = 1
    header_link.types.templavoila_pi1.disabled = 1
    header_layout.types.templavoila_pi1.disabled = 1
    date.types.templavoila_pi1.disabled = 1
    subheader.types.templavoila_pi1.disabled = 1
    }

After this unwanted fields are not shown. But when I save and close the content in backend, title part of the page content shows [No title].

Here is the screen short of page content:

enter image description here

So I desided to keep default heading field by removing the line:

header.types.templavoila_pi1.disabled = 1

from the tsconfig. How to prevent rendering of heading field?


Solution

  • Mark it as hidden. Edit your content (CASE#1) and from Type choose the last one named hidden.

    enter image description here

    or overwrite the header css config and set it to

    display:none;