There is a need for a generic template layer , above the current
theme system , that allows designers to make use of drupal's excellent
themeability , while not being subjected to the complexity of it. A
large part of this is completely re-imagining what is being done now.
I have written two articles about it for drupal.org. The first article Open discussion on Drupal's themeing capabilities and templating engines. covered the problems with drupal themes as they currently were. It's a justification piece for the next article, Technical discussion on Drupal themeing.
The attached file contains a working template selection screen, although I have rolled back the configuration pages temporarily as I need to tinker with how they are generated, the code was too ugly right now, so i just need to do some refactoring .. hopefully with some more input from a longer description of the new system to the forum, which I am writing now. I will follow up with the link after I have posted it.
To install this patch , you will need to
- Untar it into a current drupal HEAD directory. It contains the additional files added.
patch -p0 < templates.patch, to get the changes to
- Remove the current
themesdirectory. There is a new templates directory containing all the core themes in template form.