---
title: "Important: The plugin assigns a record view variable"
manual: "Academic Contacts for Pages"
version: "main"
permalink: "https://docs.typo3.org/permalink/fgtclb/academic-contacts4pages:important-contacts4pages-plugin-assigns-record-view-variable@main"
source: "Changelog/3.0/Important-PluginAssignsRecordViewVariable.rst"
rendered: "2026-10-08T23:49:52+00:00"
---

# Important: The plugin assigns a `record` view variable {#important-contacts4pages-plugin-assigns-record-view-variable}

## Description {#description}

TYPO3 v14 rewrote the header partial of `EXT:fluid_styled_content`. Where v13
`Header/All.html` reads `{data.header}`, the v14 `Header/All.fluid.html` renders
header and subheader with `{record -> f:render.text(...)}`, and that ViewHelper
requires a record object.

The shipped `Contacts/List.html` does not render that partial: the
header of the content element comes from the layout of `lib.contentElement`
around it. A site package that moves the header into its own list template
instead, and leaves it out of the layout of this content element, renders the
partial there, and on TYPO3 v14 such a template aborted with

```text
The record argument must be an instance of ... Given: null
```

The **Contacts for this page** content element now assigns an
additional `record` view variable, built from the `tt_content` row of the
current content element, as the plugins of `EXT:academic_jobs` and
`EXT:academic_bite_jobs` do. TYPO3 v13 ignores it, its header partial keeps
reading `data`.

## Impact {#impact}

Nothing was removed or renamed. A template override may render the core header
partial, for example with `<f:render partial="Header/All" arguments="{_all}" />`,
or use `{record}` directly. Rendering the partial takes three things:

-   `EXT:fluid_styled_content/Resources/Private/Partials/` in the partial root
    paths of the plugin,
-   the default header type in the plugin settings, which the partial falls
    back to for the header layout **Default** and which plugin settings
    do not carry:
    `plugin.tx_academiccontacts4pages.settings.defaultHeaderType = {$styles.content.defaultHeaderType}`,
-   a layout for this content element that does not render the header as well —
    with the layout of `EXT:fluid_styled_content` the header appears twice. A
    copy of its `Default` layout without the two `Header` blocks keeps
    the frame, the anchor and the spacing classes:

    **TypoScript setup**

    ```typoscript
    tt_content.academiccontacts4pages_list.layoutRootPaths.50 = EXT:my_sitepackage/Resources/Private/Extensions/academic_contacts4pages/Layouts/
    ```

## Affected Installations {#affected-installations}

Installations running the content element on TYPO3 v14 with a list template of
their own. TYPO3 v13 installations are unaffected.

## Migration {#migration}

None required.
