I have a theme-package, that supports both a fluid rendering stack and a headless rendering stack. I started adding site-settings based features and wanted to add full support for site settings to make things less complicated. But now i am much more confused than ever before. My problem is, that is seems impossible to enforce a given order just with site sets.
I declare my set to depend on typo3/fluid-styled-content AND friendsoftypo3/headless and it will not work because typo3 includes fsc after headless. When i add a intermediate meta-set, that only requires typo3/fluid-styled-content and have that as requirement besides friendsoftypo3/headless, it is shown correctly in the backend (active typoscript) but the frontend is still not working.
How do you solve this? The only answer the LLM could find, was to modify the third-party code
I don’t have an obvious solution to your case, but it is also killing me
I found that moving 100% to site sets is the sanest approach. With anything loaded from ext_localconf.php or (god beware) from the DB you cannot get into the Site Set Stack where you might need it. That is hard in practice where some extensions don’t use Site Sets yet (which means I make a wrapper for them to load them as Site Set). (And if 3rd party extensions load something themselves in ext_localconf.php, it gets insane).
And then add a dependency from every place where you overwrite something in a Site Set to the original place. And don’t include that original place somewhere else…