Feature: The project lists can render the content element header 

Description 

The header and the subheader an editor enters on a Projects or Projects (selected) 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
plugin.tx_academicprojects.renderContentElementHeader = 1
Copied!

On a site that uses the site set, that is the site setting Project lists | Render the content element header of fgtclb/academic-projects. 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.

On TYPO3 v14 the header partial renders the header through the record view variable, so the plugin views now carry record next to data: the content element as a record object.

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 copied a template only to add the header can switch it on and drop the copy.