I open this feed to discuss about Roadiz theme system update for the next release.
We want to remove theme configuration from database to ease up and lighten Roadiz bootstrap and early initialization stages. Theme will have to be registered in your
app/conf/config.yml to be instantly available (after a clear cache of course 😜), then database will be call later and this will speed up lot of things, such as Twig and Translator path registering and theme-level dependency injection. This looks more like Symfony bundles that are statically loaded. Static theme registering will allow us to add priority over them since we are creating abstract middleware themes (you should have seen
AbstractBlogTheme in some previous posts). Priority will allow Twig templates and translator messages to be overridden in the right order, i.e. your final theme should always override back-office and middleware theme translations (which is not the current case).
Moreover, we found that some theme options are never used at Rezo Zero, such as theme root node and theme home node which are the two features that prevent Themes from being static (we had to make database relationship between Themes and Nodes). So we will deprecate these options soon to be sure they’re not used anymore.
Here is a checklist for this update:
Feel free to react if you are using advanced theme configuration on your websites.