Top page feature can support integration with the Fluent module but there are some gaps:
docs are outdates and refer to extensions setup that's no longer there
we should provide out of the box integration as it's easy to do
How to reproduce
installing Fluent module is needed
Top page feature doesn't auto integrate with the module
what we want to see is the TopPage\DataExtension to be replaced with TopPage\FluentExtension automatically
this does not happen and it's also necessary to use Injector to do this replacement as the TopPage\DataExtensionis hard coded in theBaseElementandElementalAreaclasses instead of using named keysyml` configuration format.
Possible Solution
replace hard coded extensions with configurable yml format using named keys
provide auto detection in which extension is used
Additional Context
No response
Validations
[X] Check that there isn't already an issue that reports the same bug
[X] Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)
Module version(s) affected
5.2.4
Description
Top page feature can support integration with the Fluent module but there are some gaps:
How to reproduce
TopPage\DataExtension
to be replaced withTopPage\FluentExtension
automaticallyis hard coded in the
BaseElementand
ElementalAreaclasses instead of using named keys
yml` configuration format.Possible Solution
yml
format using named keysAdditional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)