Templavoila is one of the mature template engines for typo3. In addition to regular page templates, the extension provides so called flexible content elements to provide your custom types of page elements. They can be used to create boxes with specific contents, multi column layouts and custom prestyled content elements.

Flexible Content Elements (FCE) are integrated in the common content element infrastructure. As a result, by default an FCE provides header fields such as any other content element. In general, those header fields are not used. Only the main header field is reasonable to fill, to make easier to identify the different elements in the Typo3 backend.
However, it is always good to reduce the number of fields presented to an editor to simplify his work.

Typo3 provides the capability to turn off those secondary hader fields. This can be done by adding the following lines of Typo3 script to the TypoScript Configuration field (Page TSConfig) in the properties of your root page (Resources tab).

TCEFORM.tt_content {
  date.types.templavoila_pi1.disabled = 1
  subheader.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

You can also decide to disable the primary header field. You should decide depending on the concrete website if the header more is confusing or helpful for your editors. In the backend, it provides a good capability to distinguish content elements.

If you decide to disable it, you shoupld add the following TSConfig configuration to those above:

TCEFORM.tt_content {
  header.types.templavoila_pi1.disabled = 1
Typo3: Templavoila Reduce FCE Header Fields

Post navigation

Leave a Reply