-
Notifications
You must be signed in to change notification settings - Fork 76
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
Introducing parent/child themes #127
Comments
@lsmith77 - what do You think? |
should't twig inheritance be sufficient? |
I think using theme cascading order could be used here. It would be nice if there was a way to change the patterns based on the current theme selected so you could add base themes to the cascade order based on the active theme.. Perhaps the FileLocator could be changed to allow changing the patterns and then some listener to update the cascade order based on the current theme? |
@wizhippo I my company we've have quite complicated template inheritance, and we've achieved that using |
What do you think about idea of declaring
parent theme
for theme and parameterparent_theme
in path_patterns ? This would allow for us implement themes updating and keeping customer/user theme changes not removed.Something like:
The text was updated successfully, but these errors were encountered: