As per the documentation of Silverstripe, template inheritance is defined as follows:
- mysite (or other name given to site folder)
- module-specific themes (e.g. themes/simple_blog)
- themes (e.g. themes/simple)
- modules (e.g. blog)
- framework
Now I've got a site that has quite a few different themes. Well, "different" in that they have different names, but they still got an awful lot in common. Now I am putting all the common files in the /mysite/templates folder, but that means that if one of my themes needs a change in one of the templates, I need to remove that file from the common folder, and move it to ALL the different theme folders. In this way I end up with a lot of duplicate templates.
In my case it would be beneficial to change the inheritance order, causing the specific theme folder to take precedence over the /mysite folder. In such a way I could just copy the template that has to be changed to the theme folder and that theme one will use the changed one, while the rest keeps using the generic one in the /mysite folder:
- themes (e.g. themes/simple)
- module-specific themes (e.g. themes/simple_blog)
- mysite (or other name given to site folder)
- modules (e.g. blog)
- framework
It also seems to me to be the more obviuous way to do it, but I probably am missing some important point here. Nonetheless, would doing this be possible without hacking the core?