---
title: "Feature: The contact list can render the content element header"
manual: "Academic Contacts for Pages"
version: "main"
permalink: "https://docs.typo3.org/permalink/fgtclb/academic-contacts4pages:feature-1790440965@main"
source: "Changelog/3.0/Feature-PluginsCanRenderContentElementHeader.rst"
rendered: "2026-10-08T23:49:52+00:00"
---

# Feature: The contact list can render the content element header {#feature-1790440965}

## Description {#description}

The header and the subheader an editor enters on a **Contacts for this
page** content element are rendered by the content element layout of the site,
like those of any other content element. The layouts of
**EXT:fluid_styled_content** and of the bootstrap package do that. A
site package whose layout leaves the header out, because its element templates
render it, showed no header for these content elements, and projects copied the
templates to add it.

A site whose layout renders no header now switches the header on:

**TypoScript constants**

```typoscript
plugin.tx_academiccontacts4pages.renderContentElementHeader = 1
```

The extension declares no site settings, so a site that uses the site set sets
the constant in `config/sites/<site>/constants.typoscript`. It is off by
default.

Switched on, the templates render the header partial of
**EXT:fluid_styled_content** above their output, for every header layout
except **Hidden**. The plugin settings carry
`settings.defaultHeaderType`, mapped from the constant
`styles.content.defaultHeaderType`, so the header layout
**Default** renders a heading. The partial path of
**EXT:fluid_styled_content** is added below every other one, so a
`Header/All.html` of the site package wins over it, and the extension does
not require **EXT:fluid_styled_content**. See
[The header of the content elements](https://docs.typo3.org/permalink/fgtclb/academic-contacts4pages:configuration-content-element-header@main).

## Impact {#impact}

Nothing renders differently until a site switches the header on. A site whose
layout renders the header leaves it off: switched on, the header appears twice.
A project that replaced the list template only to render the header, as
[Important: The plugin assigns a record view variable](https://docs.typo3.org/permalink/fgtclb/academic-contacts4pages:important-contacts4pages-plugin-assigns-record-view-variable@main) describes,
can switch it on and drop the copy.
