Breaking: The partials of the detail view change
See also
Upgrading from 2.4 to 3.0.0 is the order in which the 3.0 changes have to be applied.
Description
The public profile detail view is assembled from configuration instead of a
fixed template (Feature: Configurable public profile), and
Resources/ is rewritten for it.
It dispatches every configured element to one partial below
Resources/ and renders nothing
by itself:
Contact., Element., Headline.,
Links., Menu, Menu,
Position., Profile, Profile,
Subline. and Timeline.
Those eleven files are the override surface of the detail view from 3.0 on.
Three partials the previous Detail. rendered are no longer part of
it:
Partials/is deleted. The detail view was its only caller. It rendered the heading of a data block throughProfile/ Data Header. html {header -> f:and aformat. raw ()} f:on aswitch layoutvalue; the configurable view gives every element its own heading, in its own partial, escaped.Partials/andProfile/ Header. html Partials/are kept, and the detail view no longer renders them. They still render the headings of the list and card views of this extension and of the contact plugins ofProfile/ Section Header. html EXT:, so an override of either keeps working there and stops having any effect on a profile detail page.academic_ contacts4pages
Impact
A project that overrode one of the three partials to style the detail view loses that styling: the deleted one is not read any more, and the two that stay are not reached from the detail view. Neither shows an error - the page renders, without the override.
A project that overrides Templates/ itself keeps
rendering its own template and is affected differently: see
Feature: Configurable public profile.
Affected Installations
Every installation with a project override of
Partials/, Partials/
or Partials/, and every project whose own
template renders Profile/DataHeader.
Migration
- Remove an override of
Partials/, and anyProfile/ Data Header. html <f:in project templates. A partial that no longer exists is a render time error, not a silent empty string.render partial="Profile/ Data Header" /> - Move detail view styling out of
Partials/andProfile/ Header. html Partials/into theProfile/ Section Header. html Publicpartial of the element it belongs to. Keep the override for the list and card views if it is still wanted there.Profile/ - Flush the TYPO3 caches, so the Fluid template cache is rebuilt.