Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Themes moving them away from database #313

Closed
ambroisemaupate opened this issue Jun 5, 2018 · 0 comments
Assignees
Milestone

Comments

@ambroisemaupate
Copy link
Member

@ambroisemaupate ambroisemaupate commented Jun 5, 2018

Removing Themes from database will simplify and lighten Roadiz bootstrap (no more need of database at early initialization stage). We will be able to register themes in app/conf/config.yml file with their parameters (classname, priority, hostname, route_prefix)

  • Create a ThemeResolverInterface to handle migration between DB theme and static themes
  • Handle themes priority to override non-namespaced templates in the higher priority theme
  • Remove every occurence of ThemeRepository in order to use exclusively ThemeResolverInterface methods
  • Clean NodeRouterHelper
  • Update Roadiz theme commands to only install theme data and nodes but do not update your configuration
  • Update theme data import (currently using theme ID).
  • Remove persistance of Theme entity, to use it only as a model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.